From eb3eb78664fe9c7c1ee3b1138e61b002905e7eae Mon Sep 17 00:00:00 2001 From: serb Date: Tue, 15 Oct 2013 20:40:21 +0400 Subject: [PATCH] 8025225: Window.setAlwaysOnTop documentation should be updated Reviewed-by: anthony, art Contributed-by: alexander.zvegintsev@oracle.com --- src/share/classes/java/awt/Window.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/share/classes/java/awt/Window.java b/src/share/classes/java/awt/Window.java index 6f6639516..fa200bde3 100644 --- a/src/share/classes/java/awt/Window.java +++ b/src/share/classes/java/awt/Window.java @@ -2191,13 +2191,11 @@ public class Window extends Container implements Accessible { * When the window is later shown, it will be always-on-top. * *

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. + * {@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. * *

Note: some platforms might not support always-on-top * windows. To detect if always-on-top windows are supported by the -- GitLab