src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java

Print this page

        

*** 732,746 **** private CImage getImageForTarget() { List<Image> icons = target.getIconImages(); if (icons == null || icons.size() == 0) { return null; } ! ! // TODO: need a walk-through to find the best image. ! // The best mean with higher resolution. Otherwise an icon looks bad. ! final Image image = icons.get(0); ! return CImage.getCreator().createFromImage(image); } /* * Returns LWWindowPeer associated with this delegate. */ --- 732,742 ---- private CImage getImageForTarget() { List<Image> icons = target.getIconImages(); if (icons == null || icons.size() == 0) { return null; } ! return CImage.getCreator().createFromImages(icons); } /* * Returns LWWindowPeer associated with this delegate. */