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

Print this page

        

*** 682,692 **** * <p> * 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 platfrom-default icon. * The icon of an owned window may be inherited from the owner * unless explicitly overridden. * Setting the icon to {@code null} or empty list restores * the default behavior. * <p> --- 682,692 ---- * <p> * 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. * The icon of an owned window may be inherited from the owner * unless explicitly overridden. * Setting the icon to {@code null} or empty list restores * the default behavior. * <p>
*** 1237,1249 **** */ void adjustListeningChildrenOnParent(long mask, int num) { } // Should only be called while holding tree lock ! void adjustDecendantsOnParent(int num) { // do nothing since parent == owner and we shouldn't ! // ajust counter on owner } /** * If this Window is visible, brings this Window to the front and may make * it the focused Window. --- 1237,1249 ---- */ void adjustListeningChildrenOnParent(long mask, int num) { } // Should only be called while holding tree lock ! void adjustDescendantsOnParent(int num) { // do nothing since parent == owner and we shouldn't ! // adjust counter on owner } /** * If this Window is visible, brings this Window to the front and may make * it the focused Window.