diff --git a/jdk/src/share/classes/java/awt/BorderLayout.java b/jdk/src/share/classes/java/awt/BorderLayout.java index 807531034fb..c86fd512134 100644 --- a/jdk/src/share/classes/java/awt/BorderLayout.java +++ b/jdk/src/share/classes/java/awt/BorderLayout.java @@ -115,7 +115,7 @@ import java.util.Hashtable; * } * } *
+ *
* @author Arthur van Hoff
* @see java.awt.Container#add(String, Component)
* @see java.awt.ComponentOrientation
@@ -414,8 +414,7 @@ public class BorderLayout implements LayoutManager2,
* the component is added to the layout.
* @see java.awt.Container#add(java.awt.Component, java.lang.Object)
* @exception IllegalArgumentException if the constraint object is not
- * a string, or if it not one of the five specified
- * constants.
+ * a string, or if it not one of the five specified constants.
* @since JDK1.1
*/
public void addLayoutComponent(Component comp, Object constraints) {
diff --git a/jdk/src/share/classes/java/awt/CheckboxGroup.java b/jdk/src/share/classes/java/awt/CheckboxGroup.java
index 7037e685337..53a8bb5fd7a 100644
--- a/jdk/src/share/classes/java/awt/CheckboxGroup.java
+++ b/jdk/src/share/classes/java/awt/CheckboxGroup.java
@@ -49,7 +49,7 @@ package java.awt;
*
- *
+ *
* @author Sami Shaio
* @see java.awt.Checkbox
* @since JDK1.0
diff --git a/jdk/src/share/classes/java/awt/Choice.java b/jdk/src/share/classes/java/awt/Choice.java
index 1a75f903c3d..8cd6bdbdc1d 100644
--- a/jdk/src/share/classes/java/awt/Choice.java
+++ b/jdk/src/share/classes/java/awt/Choice.java
@@ -65,7 +65,7 @@ import javax.accessibility.*;
* Native GUI Choice
components' size are often bound by such
* attributes as font size and length of items contained within
* the Choice
.
- *
+ * * @author Sami Shaio * @author Arthur van Hoff * @since JDK1.0 diff --git a/jdk/src/share/classes/java/awt/EventQueue.java b/jdk/src/share/classes/java/awt/EventQueue.java index 0c009a17f67..ee553ecba3e 100644 --- a/jdk/src/share/classes/java/awt/EventQueue.java +++ b/jdk/src/share/classes/java/awt/EventQueue.java @@ -680,7 +680,7 @@ public class EventQueue { *
+ *
* @param event an instance of java.awt.AWTEvent
,
* or a subclass of it
* @throws NullPointerException if event
is null
@@ -1015,7 +1015,6 @@ public class EventQueue {
* methods to execute a task in
* {@link Toolkit#getSystemEventQueue the current AWT EventQueue}'s
* dispatch thread.
- *
* * @return true if running in * {@link Toolkit#getSystemEventQueue the current AWT EventQueue}'s diff --git a/jdk/src/share/classes/java/awt/GridBagLayoutInfo.java b/jdk/src/share/classes/java/awt/GridBagLayoutInfo.java index a7d259c77ff..f92cc7098b0 100644 --- a/jdk/src/share/classes/java/awt/GridBagLayoutInfo.java +++ b/jdk/src/share/classes/java/awt/GridBagLayoutInfo.java @@ -29,7 +29,7 @@ package java.awt; * The {@code GridBagLayoutInfo} is an utility class for * {@code GridBagLayout} layout manager. * It stores align, size and baseline parameters for every component within a container. - *
+ * * @see java.awt.GridBagLayout * @see java.awt.GridBagConstraints * @since 1.6 diff --git a/jdk/src/share/classes/java/awt/Robot.java b/jdk/src/share/classes/java/awt/Robot.java index 39534898521..cc734dd45a2 100644 --- a/jdk/src/share/classes/java/awt/Robot.java +++ b/jdk/src/share/classes/java/awt/Robot.java @@ -76,7 +76,6 @@ public class Robot { /** * Constructs a Robot object in the coordinate system of the primary screen. - *
* * @throws AWTException if the platform configuration does not allow * low-level input control. This exception is always thrown when diff --git a/jdk/src/share/classes/java/awt/TextArea.java b/jdk/src/share/classes/java/awt/TextArea.java index 34b21379901..f86de9a9c49 100644 --- a/jdk/src/share/classes/java/awt/TextArea.java +++ b/jdk/src/share/classes/java/awt/TextArea.java @@ -49,7 +49,7 @@ import javax.accessibility.*; *
* new TextArea("Hello", 5, 40); *
+ * * @author Sami Shaio * @since JDK1.0 */ diff --git a/jdk/src/share/classes/java/awt/Toolkit.java b/jdk/src/share/classes/java/awt/Toolkit.java index f13005d97d4..90f9f24d147 100644 --- a/jdk/src/share/classes/java/awt/Toolkit.java +++ b/jdk/src/share/classes/java/awt/Toolkit.java @@ -2590,7 +2590,7 @@ public abstract class Toolkit { * If not set by the time of the {@code Toolkit} class initialization, this property will be * initialized with {@code true}. * Changing this value after the {@code Toolkit} class initialization will have no effect. - *
+ *
* @exception HeadlessException if GraphicsEnvironment.isHeadless() returns true
* @return {@code true} if events from extra mouse buttons are allowed to be processed and posted;
* {@code false} otherwise
diff --git a/jdk/src/share/classes/java/awt/TrayIcon.java b/jdk/src/share/classes/java/awt/TrayIcon.java
index 22f02cf6c87..5199b0cc064 100644
--- a/jdk/src/share/classes/java/awt/TrayIcon.java
+++ b/jdk/src/share/classes/java/awt/TrayIcon.java
@@ -231,7 +231,7 @@ public class TrayIcon {
/**
* Sets the image for this TrayIcon
. The previous
* tray icon image is discarded without calling the {@link
- * java.awt.Image#flush} method you will need to call it
+ * java.awt.Image#flush} method — you will need to call it
* manually.
*
*
If the image represents an animated image, it will be @@ -368,7 +368,7 @@ public class TrayIcon { * *
If auto-size is false
, and the image size
* doesn't match the tray icon space, the image is painted as-is
- * inside that space if larger than the allocated space, it will
+ * inside that space — if larger than the allocated space, it will
* be cropped.
*
*
If auto-size is true
, the image is stretched or shrunk to
diff --git a/jdk/src/share/classes/java/awt/Window.java b/jdk/src/share/classes/java/awt/Window.java
index 6b8cb17233a..801b643a15e 100644
--- a/jdk/src/share/classes/java/awt/Window.java
+++ b/jdk/src/share/classes/java/awt/Window.java
@@ -2550,7 +2550,7 @@ public class Window extends Container implements Accessible {
* a non-focusable Window.
*
* Setting the focusability state on a visible {@code Window}
- * can have a delayed effect on some platforms the actual
+ * can have a delayed effect on some platforms — the actual
* change may happen only when the {@code Window} becomes
* hidden and then visible again. To ensure consistent behavior
* across platforms, set the {@code Window}'s focusable state
diff --git a/jdk/src/share/classes/java/awt/im/spi/InputMethodContext.java b/jdk/src/share/classes/java/awt/im/spi/InputMethodContext.java
index 45517c37b23..747b3d21deb 100644
--- a/jdk/src/share/classes/java/awt/im/spi/InputMethodContext.java
+++ b/jdk/src/share/classes/java/awt/im/spi/InputMethodContext.java
@@ -85,7 +85,7 @@ public interface InputMethodContext extends InputMethodRequests {
*
* Input methods must call {@link java.awt.Window#dispose() Window.dispose} on the * returned input method window when it is no longer needed. - *
+ *
* @param title the title to be displayed in the window's title bar,
* if there is such a title bar.
* A null
value is treated as an empty string, "".
@@ -117,7 +117,7 @@ public interface InputMethodContext extends InputMethodRequests {
*
* Input methods must call {@link java.awt.Window#dispose() Window.dispose} on the * returned input method window when it is no longer needed. - *
+ *
* @param title the title to be displayed in the window's title bar,
* if there is such a title bar.
* A null
value is treated as an empty string, "".