--- old/src/share/classes/java/awt/AWTKeyStroke.java 2013-09-23 12:23:14.829169301 +0400 +++ new/src/share/classes/java/awt/AWTKeyStroke.java 2013-09-23 12:23:14.709169311 +0400 @@ -485,11 +485,11 @@ * If typed, pressed or released is not specified, pressed is assumed. Here * are some examples: *
-     *     "INSERT" => getAWTKeyStroke(KeyEvent.VK_INSERT, 0);
-     *     "control DELETE" => getAWTKeyStroke(KeyEvent.VK_DELETE, InputEvent.CTRL_MASK);
-     *     "alt shift X" => getAWTKeyStroke(KeyEvent.VK_X, InputEvent.ALT_MASK | InputEvent.SHIFT_MASK);
-     *     "alt shift released X" => getAWTKeyStroke(KeyEvent.VK_X, InputEvent.ALT_MASK | InputEvent.SHIFT_MASK, true);
-     *     "typed a" => getAWTKeyStroke('a');
+     *     "INSERT" => getAWTKeyStroke(KeyEvent.VK_INSERT, 0);
+     *     "control DELETE" => getAWTKeyStroke(KeyEvent.VK_DELETE, InputEvent.CTRL_MASK);
+     *     "alt shift X" => getAWTKeyStroke(KeyEvent.VK_X, InputEvent.ALT_MASK | InputEvent.SHIFT_MASK);
+     *     "alt shift released X" => getAWTKeyStroke(KeyEvent.VK_X, InputEvent.ALT_MASK | InputEvent.SHIFT_MASK, true);
+     *     "typed a" => getAWTKeyStroke('a');
      * 
* * @param s a String formatted as described above --- old/src/share/classes/java/awt/Component.java 2013-09-23 12:23:15.361169280 +0400 +++ new/src/share/classes/java/awt/Component.java 2013-09-23 12:23:15.245169286 +0400 @@ -2026,7 +2026,7 @@ * @return an instance of Point representing * the top-left corner of the component's bounds in the * coordinate space of the screen - * @throws IllegalComponentStateException if the + * @throws IllegalComponentStateException if the * component is not showing on the screen * @see #setLocation * @see #getLocation --- old/src/share/classes/java/awt/DefaultKeyboardFocusManager.java 2013-09-23 12:23:15.929169257 +0400 +++ new/src/share/classes/java/awt/DefaultKeyboardFocusManager.java 2013-09-23 12:23:15.809169257 +0400 @@ -1246,7 +1246,7 @@ * any) should be cancelled. * * @param after the timestamp specified in the call to - * enqueueKeyEvents, or any value < 0 + * enqueueKeyEvents, or any value < 0 * @param untilFocused the Component specified in the call to * enqueueKeyEvents * @see #enqueueKeyEvents --- old/src/share/classes/java/awt/Dialog.java 2013-09-23 12:23:16.457169232 +0400 +++ new/src/share/classes/java/awt/Dialog.java 2013-09-23 12:23:16.345169233 +0400 @@ -61,7 +61,7 @@ *

* The default layout for a dialog is BorderLayout. *

- * A dialog may have its native decorations (i.e. Frame & Titlebar) turned off + * A dialog may have its native decorations (i.e. Frame & Titlebar) turned off * with setUndecorated. This can only be done while the dialog * is not {@link Component#isDisplayable() displayable}. *

--- old/src/share/classes/java/awt/Event.java 2013-09-23 12:23:16.985169205 +0400 +++ new/src/share/classes/java/awt/Event.java 2013-09-23 12:23:16.873169215 +0400 @@ -524,7 +524,7 @@ * This field has been replaced by MouseEvent.getClickCount(). * * @serial - * @see java.awt.event.MouseEvent#getClickCount(). + * @see java.awt.event.MouseEvent#getClickCount() */ public int clickCount; --- old/src/share/classes/java/awt/Frame.java 2013-09-23 12:23:17.505169187 +0400 +++ new/src/share/classes/java/awt/Frame.java 2013-09-23 12:23:17.389169187 +0400 @@ -265,12 +265,12 @@ * *

Note that the correct test for frame being fully maximized is *

-     *     (state & Frame.MAXIMIZED_BOTH) == Frame.MAXIMIZED_BOTH
+     *     (state & Frame.MAXIMIZED_BOTH) == Frame.MAXIMIZED_BOTH
      * 
* *

To test is frame is maximized in some direction use *

-     *     (state & Frame.MAXIMIZED_BOTH) != 0
+     *     (state & Frame.MAXIMIZED_BOTH) != 0
      * 
* * @see #setExtendedState(int) --- old/src/share/classes/java/awt/GridBagConstraints.java 2013-09-23 12:23:18.041169162 +0400 +++ new/src/share/classes/java/awt/GridBagConstraints.java 2013-09-23 12:23:17.921169165 +0400 @@ -30,7 +30,7 @@ * GridBagLayout class. * * @author Doug Stein - * @author Bill Spitzak (orignial NeWS & OLIT implementation) + * @author Bill Spitzak (orignial NeWS & OLIT implementation) * @see java.awt.GridBagLayout * @since JDK1.0 */ --- old/src/share/classes/java/awt/GridBagLayout.java 2013-09-23 12:23:18.557169138 +0400 +++ new/src/share/classes/java/awt/GridBagLayout.java 2013-09-23 12:23:18.441169144 +0400 @@ -120,9 +120,9 @@ * Orientation relative values are interpreted relative to the container's * ComponentOrientation property while absolute values * are not. Baseline relative values are calculated relative to the - * baseline. Valid values are: + * baseline. Valid values are: *

- *

* * @@ -131,6 +131,7 @@ * * * * * * - *

Absolute Values

+ *
    *
  • GridBagConstraints.NORTH
  • *
  • GridBagConstraints.SOUTH
  • *
  • GridBagConstraints.WEST
  • @@ -140,8 +141,10 @@ *
  • GridBagConstraints.SOUTHWEST
  • *
  • GridBagConstraints.SOUTHEAST
  • *
  • GridBagConstraints.CENTER (the default)
  • + *
*
+ *
    *
  • GridBagConstraints.PAGE_START
  • *
  • GridBagConstraints.PAGE_END
  • *
  • GridBagConstraints.LINE_START
  • @@ -150,8 +153,10 @@ *
  • GridBagConstraints.FIRST_LINE_END
  • *
  • GridBagConstraints.LAST_LINE_START
  • *
  • GridBagConstraints.LAST_LINE_END
  • + *
*
+ *
    *
  • GridBagConstraints.BASELINE
  • *
  • GridBagConstraints.BASELINE_LEADING
  • *
  • GridBagConstraints.BASELINE_TRAILING
  • @@ -161,9 +166,10 @@ *
  • GridBagConstraints.BELOW_BASELINE
  • *
  • GridBagConstraints.BELOW_BASELINE_LEADING
  • *
  • GridBagConstraints.BELOW_BASELINE_TRAILING
  • + *
*

+ * *

{@link GridBagConstraints#weightx}, * {@link GridBagConstraints#weighty} *
Used to determine how to distribute space, which is @@ -246,7 +252,7 @@ * left-to-right container and Figure 3 shows the layout for a horizontal, * right-to-left container. *

- *

+ *
* *
* The preceeding text describes this graphic (Figure 1). @@ -349,7 +355,7 @@ *
*

* @author Doug Stein - * @author Bill Spitzak (orignial NeWS & OLIT implementation) + * @author Bill Spitzak (orignial NeWS & OLIT implementation) * @see java.awt.GridBagConstraints * @see java.awt.GridBagLayoutInfo * @see java.awt.ComponentOrientation --- old/src/share/classes/java/awt/GridLayout.java 2013-09-23 12:23:19.109169110 +0400 +++ new/src/share/classes/java/awt/GridLayout.java 2013-09-23 12:23:18.997169117 +0400 @@ -55,7 +55,7 @@ * If the container's ComponentOrientation property is horizontal * and right-to-left, the example produces the output shown in Figure 2. *

- *

+ *
* *
Shows 6 buttons in rows of 2. Row 1 shows buttons 1 then 2.
--- old/src/share/classes/java/awt/KeyboardFocusManager.java	2013-09-23 12:23:19.637169087 +0400
+++ new/src/share/classes/java/awt/KeyboardFocusManager.java	2013-09-23 12:23:19.525169096 +0400
@@ -2034,7 +2034,7 @@
      * oldest</b> timestamp (if any) should be cancelled.
      *
      * @param after the timestamp specified in the call to
-     *        <code>enqueueKeyEvents</code>, or any value < 0
+     *        <code>enqueueKeyEvents</code>, or any value < 0
      * @param untilFocused the Component specified in the call to
      *        <code>enqueueKeyEvents</code>
      * @see #enqueueKeyEvents
--- old/src/share/classes/java/awt/MenuBar.java	2013-09-23 12:23:20.213169061 +0400
+++ new/src/share/classes/java/awt/MenuBar.java	2013-09-23 12:23:20.097169071 +0400
@@ -43,7 +43,7 @@
  * This is what a menu bar might look like:
  * <p>
  * <img src= *

--- old/src/share/classes/java/awt/ScrollPane.java 2013-09-23 12:23:20.789169035 +0400 +++ new/src/share/classes/java/awt/ScrollPane.java 2013-09-23 12:23:20.677169043 +0400 @@ -247,7 +247,7 @@ * component is removed and the new one is added. * @param comp the component to be added * @param constraints not applicable - * @param index position of child component (must be <= 0) + * @param index position of child component (must be <= 0) */ protected final void addImpl(Component comp, Object constraints, int index) { synchronized (getTreeLock()) { --- old/src/share/classes/java/awt/ScrollPaneAdjustable.java 2013-09-23 12:23:21.277169019 +0400 +++ new/src/share/classes/java/awt/ScrollPaneAdjustable.java 2013-09-23 12:23:21.165169022 +0400 @@ -220,7 +220,7 @@ * This method is public for this class to properly implement * Adjustable interface. * - * @throws AWTError Always throws an error when called. + * @throws AWTError Always throws an error when called. */ public void setMinimum(int min) { throw new AWTError(SCROLLPANE_ONLY); @@ -237,7 +237,7 @@ * This method is public for this class to properly implement * Adjustable interface. * - * @throws AWTError Always throws an error when called. + * @throws AWTError Always throws an error when called. */ public void setMaximum(int max) { throw new AWTError(SCROLLPANE_ONLY); @@ -274,7 +274,7 @@ * This method is public for this class to properly implement * Adjustable interface. * - * @throws AWTError Always throws an error when called. + * @throws AWTError Always throws an error when called. */ public void setVisibleAmount(int v) { throw new AWTError(SCROLLPANE_ONLY); --- old/src/share/classes/java/awt/SystemTray.java 2013-09-23 12:23:21.785168996 +0400 +++ new/src/share/classes/java/awt/SystemTray.java 2013-09-23 12:23:21.673169000 +0400 @@ -63,8 +63,8 @@ * *

The following code snippet demonstrates how to access * and customize the system tray: - * *

+ * 
  *     {@link TrayIcon} trayIcon = null;
  *     if (SystemTray.isSupported()) {
  *         // get the SystemTray instance
@@ -109,8 +109,8 @@
  *         trayIcon.{@link TrayIcon#setImage(java.awt.Image) setImage}(updatedImage);
  *     }
  *     // ...
- * 
* + * * * @since 1.6 * @see TrayIcon --- old/src/share/classes/java/awt/TextComponent.java 2013-09-23 12:23:22.301168968 +0400 +++ new/src/share/classes/java/awt/TextComponent.java 2013-09-23 12:23:22.177168977 +0400 @@ -971,7 +971,7 @@ * coordinates. If the index is invalid a null rectangle * is returned. * - * @param i the index into the String >= 0 + * @param i the index into the String >= 0 * @return the screen coordinates of the character's bounding box */ public Rectangle getCharacterBounds(int i) { @@ -981,7 +981,7 @@ /** * Returns the number of characters (valid indicies) * - * @return the number of characters >= 0 + * @return the number of characters >= 0 */ public int getCharCount() { return TextComponent.this.getText().length(); @@ -1017,7 +1017,7 @@ * Return 0 if the text is empty, or the caret position * if no selection. * - * @return the index into the text of the start of the selection >= 0 + * @return the index into the text of the start of the selection >= 0 */ public int getSelectionStart() { return TextComponent.this.getSelectionStart(); @@ -1030,7 +1030,7 @@ * Return 0 if the text is empty, or the caret position * if no selection. * - * @return the index into teh text of the end of the selection >= 0 + * @return the index into teh text of the end of the selection >= 0 */ public int getSelectionEnd() { return TextComponent.this.getSelectionEnd(); @@ -1055,7 +1055,7 @@ * * @param part the AccessibleText.CHARACTER, AccessibleText.WORD, * or AccessibleText.SENTENCE to retrieve - * @param index an index within the text >= 0 + * @param index an index within the text >= 0 * @return the letter, word, or sentence, * null for an invalid index or part */ @@ -1121,7 +1121,7 @@ * * @param part the AccessibleText.CHARACTER, AccessibleText.WORD, * or AccessibleText.SENTENCE to retrieve - * @param index an index within the text >= 0 + * @param index an index within the text >= 0 * @return the letter, word, or sentence, null for an invalid * index or part */ @@ -1174,7 +1174,7 @@ * * @param part the AccessibleText.CHARACTER, AccessibleText.WORD, * or AccessibleText.SENTENCE to retrieve - * @param index an index within the text >= 0 + * @param index an index within the text >= 0 * @return the letter, word, or sentence, null for an invalid index * or part */ --- old/src/share/classes/java/awt/TextField.java 2013-09-23 12:23:22.825168950 +0400 +++ new/src/share/classes/java/awt/TextField.java 2013-09-23 12:23:22.713168953 +0400 @@ -503,7 +503,7 @@ * * @see #addActionListener * @see #removeActionListener - * @see java.awt.event#ActionListener + * @see java.awt.event.ActionListener * @since 1.4 */ public synchronized ActionListener[] getActionListeners() { --- old/src/share/classes/java/awt/Window.java 2013-09-23 12:23:23.361168924 +0400 +++ new/src/share/classes/java/awt/Window.java 2013-09-23 12:23:23.241168926 +0400 @@ -1093,7 +1093,6 @@ * Hide this Window, its subcomponents, and all of its owned children. * The Window and its subcomponents can be made visible again * with a call to {@code show}. - *

* @see #show * @see #dispose * @deprecated As of JDK version 1.5, replaced by @@ -3391,27 +3390,27 @@ * this property of the Window. *

* For example, after the following code is executed: - *

+ *
      * setLocationByPlatform(true);
      * setVisible(true);
      * boolean flag = isLocationByPlatform();
-     * 
+ * * The window will be shown at platform's default location and * {@code flag} will be {@code false}. *

* In the following sample: - *

+ *
      * setLocationByPlatform(true);
      * setLocation(10, 10);
      * boolean flag = isLocationByPlatform();
      * setVisible(true);
-     * 
+ * * The window will be shown at (10, 10) and {@code flag} will be * {@code false}. * * @param locationByPlatform {@code true} if this Window should appear * at the default location, {@code false} if at the current location - * @throws {@code IllegalComponentStateException} if the window + * @throws IllegalComponentStateException if the window * is showing on screen and locationByPlatform is {@code true}. * @see #setLocation * @see #isShowing --- old/src/share/classes/java/awt/datatransfer/DataFlavor.java 2013-09-23 12:23:23.873168901 +0400 +++ new/src/share/classes/java/awt/datatransfer/DataFlavor.java 2013-09-23 12:23:23.761168908 +0400 @@ -454,7 +454,7 @@ /** * Constructs a DataFlavor from a mimeType string. - * The string can specify a "class=" + * The string can specify a "class=<fully specified Java class name>" * parameter to create a DataFlavor with the desired * representation class. If the string does not contain "class=" parameter, * java.io.InputStream is used as default. --- old/src/share/classes/java/awt/event/MouseMotionListener.java 2013-09-23 12:23:24.289168879 +0400 +++ new/src/share/classes/java/awt/event/MouseMotionListener.java 2013-09-23 12:23:24.177168887 +0400 @@ -60,9 +60,9 @@ * mouse button is released (regardless of whether the mouse position * is within the bounds of the component). *

- * Due to platform-dependent Drag&Drop implementations, + * Due to platform-dependent Drag&Drop implementations, * MOUSE_DRAGGED events may not be delivered during a native - * Drag&Drop operation. + * Drag&Drop operation. */ public void mouseDragged(MouseEvent e);