aboutsummaryrefslogtreecommitdiff
path: root/src/java.desktop/share/classes/java/awt/Frame.java
diff options
context:
space:
mode:
authorSergey Bylokhov <serb@openjdk.org>2020-10-06 10:49:56 +0000
committerSergey Bylokhov <serb@openjdk.org>2020-10-06 10:49:56 +0000
commitf397b60ae15a6d355ea7ebd2ab4ba5eef263df49 (patch)
tree6d45abea53f5bfee99a53bd5bd6ad31b92f3f3be /src/java.desktop/share/classes/java/awt/Frame.java
parentc9d1dcc63d3da0eb8f96e0d19336940eb11d6b92 (diff)
downloadopenjdk-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/Frame.java')
-rw-r--r--src/java.desktop/share/classes/java/awt/Frame.java24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/java.desktop/share/classes/java/awt/Frame.java b/src/java.desktop/share/classes/java/awt/Frame.java
index 10f9a2f4e8e..0e2aa8bbee5 100644
--- a/src/java.desktop/share/classes/java/awt/Frame.java
+++ b/src/java.desktop/share/classes/java/awt/Frame.java
@@ -22,6 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
+
package java.awt;
import java.awt.event.KeyEvent;
@@ -38,7 +39,6 @@ import javax.accessibility.AccessibleContext;
import javax.accessibility.AccessibleRole;
import javax.accessibility.AccessibleState;
import javax.accessibility.AccessibleStateSet;
-import javax.swing.WindowConstants;
import sun.awt.AWTAccessor;
import sun.awt.SunToolkit;
@@ -345,11 +345,14 @@ public class Frame extends Window implements MenuContainer {
*/
boolean mbManagement = false; /* used only by the Motif impl. */
+ /**
+ * The bitwise mask of frame state constants.
+ */
// XXX: uwe: abuse old field for now
// will need to take care of serialization
private int state = NORMAL;
- /*
+ /**
* The Windows owned by the Frame.
* Note: in 1.2 this has been superseded by Window.ownedWindowList
*
@@ -1176,7 +1179,8 @@ public class Frame extends Window implements MenuContainer {
* an optional serializable icon {@code Image}, which is
* available as of 1.4.
*
- * @param s the {@code ObjectOutputStream} to write
+ * @param s the {@code ObjectOutputStream} to write
+ * @throws IOException if an I/O error occurs
* @serialData an optional icon {@code Image}
* @see java.awt.Image
* @see #getIconImage
@@ -1206,13 +1210,13 @@ public class Frame extends Window implements MenuContainer {
* will be thrown.
* Unrecognized keys or values will be ignored.
*
- * @param s the {@code ObjectInputStream} to read
- * @exception java.io.OptionalDataException if an icon {@code Image}
- * is not available, but anything other than an EOF
- * is detected
- * @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 java.io.OptionalDataException if an icon {@code Image} is not
+ * available, but anything other than an EOF is detected
+ * @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
+ * returns {@code true}
* @see java.awt.GraphicsEnvironment#isHeadless()
* @see java.awt.Image
* @see #getIconImage