< prev index next >

src/java.desktop/share/classes/java/awt/Window.java

Print this page

        

@@ -676,10 +676,14 @@
      * always return a copy of the {@code icons} list.
      * <p>
      * Depending on the platform capabilities one or several images
      * of different dimensions will be used as the window's icon.
      * <p>
+     * The {@code icons} list can contain MultiResolutionImage images also.
+     * Suitable image depending on screen resolution is extracted from
+     * base MultiResolutionImage image and added to the icons list
+     * while base resolution image is removed from list.
      * The {@code icons} list is scanned for the images of most
      * appropriate dimensions from the beginning. If the list contains
      * several images of the same size, the first will be used.
      * <p>
      * Ownerless windows with no icon specified use platform-default icon.
< prev index next >