diff options
| author | Sergey Bylokhov <serb@openjdk.org> | 2020-10-06 10:49:56 +0000 |
|---|---|---|
| committer | Sergey Bylokhov <serb@openjdk.org> | 2020-10-06 10:49:56 +0000 |
| commit | f397b60ae15a6d355ea7ebd2ab4ba5eef263df49 (patch) | |
| tree | 6d45abea53f5bfee99a53bd5bd6ad31b92f3f3be /src/java.desktop/share/classes/java/awt/Window.java | |
| parent | c9d1dcc63d3da0eb8f96e0d19336940eb11d6b92 (diff) | |
| download | openjdk-f397b60ae15a6d355ea7ebd2ab4ba5eef263df49.tar.gz openjdk-f397b60ae15a6d355ea7ebd2ab4ba5eef263df49.zip | |
8251123: doclint warnings about missing javadoc tags and comments
Reviewed-by: jdv, prr
Diffstat (limited to 'src/java.desktop/share/classes/java/awt/Window.java')
| -rw-r--r-- | src/java.desktop/share/classes/java/awt/Window.java | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/java.desktop/share/classes/java/awt/Window.java b/src/java.desktop/share/classes/java/awt/Window.java index 8acca72fe52..86addf2506f 100644 --- a/src/java.desktop/share/classes/java/awt/Window.java +++ b/src/java.desktop/share/classes/java/awt/Window.java @@ -241,7 +241,11 @@ public class Window extends Container implements Accessible { private transient Component temporaryLostComponent; static boolean systemSyncLWRequests = false; - boolean syncLWRequests = false; + + /** + * Focus transfers should be synchronous for lightweight component requests. + */ + boolean syncLWRequests = false; transient boolean beforeFirstShow = true; private transient boolean disposing = false; transient WindowDisposerRecord disposerRecord = null; @@ -2936,7 +2940,8 @@ public class Window extends Container implements Accessible { * Writes a list of child windows as optional data. * Writes a list of icon images as optional data * - * @param s the {@code ObjectOutputStream} to write + * @param s the {@code ObjectOutputStream} to write + * @throws IOException if an I/O error occurs * @serialData {@code null} terminated sequence of * 0 or more pairs; the pair consists of a {@code String} * and {@code Object}; the {@code String} @@ -3091,10 +3096,12 @@ public class Window extends Container implements Accessible { * (possibly {@code null}) child windows. * Unrecognized keys or values will be ignored. * - * @param s the {@code ObjectInputStream} to read - * @exception HeadlessException if - * {@code GraphicsEnvironment.isHeadless} returns - * {@code true} + * @param s the {@code ObjectInputStream} to read + * @throws ClassNotFoundException if the class of a serialized object could + * not be found + * @throws IOException if an I/O error occurs + * @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()} + * returns {@code true} * @see java.awt.GraphicsEnvironment#isHeadless * @see #writeObject */ @@ -3427,6 +3434,10 @@ public class Window extends Container implements Accessible { return super.canContainFocusOwner(focusOwnerCandidate) && isFocusableWindow(); } + /** + * {@code true} if this Window should appear at the default location, + * {@code false} if at the current location. + */ private volatile boolean locationByPlatform = locationByPlatformProp; |
