src/share/classes/java/awt/Window.java
Print this page
*** 2167,2183 ****
* window isn`t currently visible, this method sets the always-on-top
* state to {@code true} but does not bring the window forward.
* When the window is later shown, it will be always-on-top.
*
* <p> When this method is called on a window with a value of
! * {@code false} the always-on-top state is set to normal. The
! * window remains in the top-most position but it`s z-order can be
! * changed as for any other window. Calling this method with a value
! * of {@code false} on a window that has a normal state has no
! * effect. Setting the always-on-top state to false has no effect on
! * the relative z-order of the windows if there are no other
! * always-on-top windows.
*
* <p><b>Note</b>: some platforms might not support always-on-top
* windows. To detect if always-on-top windows are supported by the
* current platform, use {@link Toolkit#isAlwaysOnTopSupported()} and
* {@link Window#isAlwaysOnTopSupported()}. If always-on-top mode
--- 2167,2181 ----
* window isn`t currently visible, this method sets the always-on-top
* state to {@code true} but does not bring the window forward.
* When the window is later shown, it will be always-on-top.
*
* <p> When this method is called on a window with a value of
! * {@code false} the always-on-top state is set to normal. It may also
! * cause an unspecified, platform-dependent change in the z-order of
! * top-level windows, but other always-on-top windows will remain in
! * top-most position. Calling this method with a value of {@code false}
! * on a window that has a normal state has no effect.
*
* <p><b>Note</b>: some platforms might not support always-on-top
* windows. To detect if always-on-top windows are supported by the
* current platform, use {@link Toolkit#isAlwaysOnTopSupported()} and
* {@link Window#isAlwaysOnTopSupported()}. If always-on-top mode