8025409: Fix javadoc comments errors and warning reported by doclint report
Reviewed-by: anthony, yan
--- a/jdk/src/share/classes/java/awt/BorderLayout.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/BorderLayout.java Wed Oct 02 11:28:07 2013 -0700
@@ -96,7 +96,7 @@
* alt="Diagram of an applet demonstrating BorderLayout.
* Each section of the BorderLayout contains a Button corresponding to its position in the layout, one of:
* North, West, Center, East, or South."
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* The code for this applet is as follows:
* <p>
--- a/jdk/src/share/classes/java/awt/Button.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/Button.java Wed Oct 02 11:28:07 2013 -0700
@@ -40,7 +40,7 @@
* under the Solaris operating system:
* <p>
* <img src="doc-files/Button-1.gif" alt="The following context describes the graphic"
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* The first view shows the button as it appears normally.
* The second view shows the button
--- a/jdk/src/share/classes/java/awt/Checkbox.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/Checkbox.java Wed Oct 02 11:28:07 2013 -0700
@@ -53,7 +53,7 @@
* created by this code example:
* <p>
* <img src="doc-files/Checkbox-1.gif" alt="The following context describes the graphic."
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* The button labeled <code>one</code> is in the "on" state, and the
* other two are in the "off" state. In this example, which uses the
--- a/jdk/src/share/classes/java/awt/CheckboxGroup.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/CheckboxGroup.java Wed Oct 02 11:28:07 2013 -0700
@@ -48,7 +48,7 @@
* <p>
* <img src="doc-files/CheckboxGroup-1.gif"
* alt="Shows three checkboxes, arranged vertically, labeled one, two, and three. Checkbox one is in the on state."
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* @author Sami Shaio
* @see java.awt.Checkbox
--- a/jdk/src/share/classes/java/awt/CheckboxMenuItem.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/CheckboxMenuItem.java Wed Oct 02 11:28:07 2013 -0700
@@ -44,7 +44,7 @@
* <p>
* <img src="doc-files/MenuBar-1.gif"
* alt="Menu labeled Examples, containing items Basic, Simple, Check, and More Examples. The Check item is a CheckBoxMenuItem instance, in the off state."
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* The item labeled <code>Check</code> shows a check box menu item
* in its "off" state.
--- a/jdk/src/share/classes/java/awt/Choice.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/Choice.java Wed Oct 02 11:28:07 2013 -0700
@@ -52,7 +52,7 @@
* it appears as follows in its normal state:
* <p>
* <img src="doc-files/Choice-1.gif" alt="The following text describes the graphic"
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* In the picture, <code>"Green"</code> is the current choice.
* Pushing the mouse button down on the object causes a menu to
--- a/jdk/src/share/classes/java/awt/Color.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/Color.java Wed Oct 02 11:28:07 2013 -0700
@@ -823,7 +823,7 @@
* <p>
* The integer that is returned by <code>HSBtoRGB</code> encodes the
* value of a color in bits 0-23 of an integer value that is the same
- * format used by the method {@link #getRGB() <code>getRGB</code>}.
+ * format used by the method {@link #getRGB() getRGB}.
* This integer can be supplied as an argument to the
* <code>Color</code> constructor that takes a single integer argument.
* @param hue the hue component of the color
--- a/jdk/src/share/classes/java/awt/EventQueue.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/EventQueue.java Wed Oct 02 11:28:07 2013 -0700
@@ -652,7 +652,7 @@
* Dispatches an event. The manner in which the event is
* dispatched depends upon the type of the event and the
* type of the event's source object:
- * <p> </p>
+ * <p>
* <table border=1 summary="Event types, source types, and dispatch methods">
* <tr>
* <th>Event Type</th>
@@ -680,7 +680,7 @@
* <td>No action (ignored)</td>
* </tr>
* </table>
- * <p> </p>
+ * <p>
* @param event an instance of <code>java.awt.AWTEvent</code>,
* or a subclass of it
* @throws NullPointerException if <code>event</code> is <code>null</code>
--- a/jdk/src/share/classes/java/awt/FlowLayout.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/FlowLayout.java Wed Oct 02 11:28:07 2013 -0700
@@ -54,7 +54,7 @@
* <p>
* <img src="doc-files/FlowLayout-1.gif"
* ALT="Graphic of Layout for Three Buttons"
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* Here is the code for this applet:
* <p>
--- a/jdk/src/share/classes/java/awt/FontMetrics.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/FontMetrics.java Wed Oct 02 11:28:07 2013 -0700
@@ -51,8 +51,8 @@
* <li>{@link #charsWidth(char[], int, int)}
* </ul>
* <p>
- * <img src="doc-files/FontMetrics-1.gif" alt="The letter 'p' showing its 'reference point'" border=15 align
- * ALIGN=right HSPACE=10 VSPACE=7>
+ * <img src="doc-files/FontMetrics-1.gif" alt="The letter 'p' showing its 'reference point'"
+ * style="border:15px; float:right; margin: 7px 10px;">
* Note that the implementations of these methods are
* inefficient, so they are usually overridden with more efficient
* toolkit-specific implementations.
--- a/jdk/src/share/classes/java/awt/Frame.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/Frame.java Wed Oct 02 11:28:07 2013 -0700
@@ -83,7 +83,7 @@
* <img src="doc-files/MultiScreen.gif"
* alt="Diagram of virtual device encompassing three physical screens and one primary physical screen. The primary physical screen
* shows (0,0) coords while a different physical screen shows (-80,-100) coords."
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* In such an environment, when calling <code>setLocation</code>,
* you must pass a virtual coordinate to this method. Similarly,
--- a/jdk/src/share/classes/java/awt/GridBagLayout.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/GridBagLayout.java Wed Oct 02 11:28:07 2013 -0700
@@ -125,9 +125,9 @@
* <center><table BORDER=0 WIDTH=800
* SUMMARY="absolute, relative and baseline values as described above">
* <tr>
- * <th><P ALIGN="LEFT">Absolute Values</th>
- * <th><P ALIGN="LEFT">Orientation Relative Values</th>
- * <th><P ALIGN="LEFT">Baseline Relative Values</th>
+ * <th><P STYLE="TEXT-ALIGN:LEFT">Absolute Values</th>
+ * <th><P STYLE="TEXT-ALIGN:LEFT">Orientation Relative Values</th>
+ * <th><P STYLE="TEXT-ALIGN:LEFT">Baseline Relative Values</th>
* </tr>
* <tr>
* <td>
@@ -201,7 +201,7 @@
* <tr ALIGN=CENTER>
* <td>
* <img src="doc-files/GridBagLayout-baseline.png"
- * alt="The following text describes this graphic (Figure 1)." ALIGN=center>
+ * alt="The following text describes this graphic (Figure 1)." style="float:center">
* </td>
* </table></center>
* This layout consists of three components:
@@ -255,10 +255,10 @@
* <center><table WIDTH=600 summary="layout">
* <tr ALIGN=CENTER>
* <td>
- * <img src="doc-files/GridBagLayout-1.gif" alt="The preceeding text describes this graphic (Figure 1)." ALIGN=center HSPACE=10 VSPACE=7>
+ * <img src="doc-files/GridBagLayout-1.gif" alt="The preceeding text describes this graphic (Figure 1)." style="float:center; margin: 7px 10px;">
* </td>
* <td>
- * <img src="doc-files/GridBagLayout-2.gif" alt="The preceeding text describes this graphic (Figure 2)." ALIGN=center HSPACE=10 VSPACE=7>
+ * <img src="doc-files/GridBagLayout-2.gif" alt="The preceeding text describes this graphic (Figure 2)." style="float:center; margin: 7px 10px;">
* </td>
* <tr ALIGN=CENTER>
* <td>Figure 2: Horizontal, Left-to-Right</td>
--- a/jdk/src/share/classes/java/awt/GridLayout.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/GridLayout.java Wed Oct 02 11:28:07 2013 -0700
@@ -55,7 +55,7 @@
* If the container's <code>ComponentOrientation</code> property is horizontal
* and right-to-left, the example produces the output shown in Figure 2.
* <p>
- * <center><table WIDTH=600 summary="layout">
+ * <table style="float:center" WIDTH=600 summary="layout">
* <tr ALIGN=CENTER>
* <td><img SRC="doc-files/GridLayout-1.gif"
* alt="Shows 6 buttons in rows of 2. Row 1 shows buttons 1 then 2.
@@ -73,7 +73,7 @@
*
* <td>Figure 2: Horizontal, Right-to-Left</td>
* </tr>
- * </table></center>
+ * </table>
* <p>
* When both the number of rows and the number of columns have
* been set to non-zero values, either by a constructor or
--- a/jdk/src/share/classes/java/awt/Label.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/Label.java Wed Oct 02 11:28:07 2013 -0700
@@ -46,7 +46,7 @@
* produces the following labels:
* <p>
* <img src="doc-files/Label-1.gif" alt="Two labels: 'Hi There!' and 'Another label'"
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
*
* @author Sami Shaio
* @since JDK1.0
--- a/jdk/src/share/classes/java/awt/LinearGradientPaint.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/LinearGradientPaint.java Wed Oct 02 11:28:07 2013 -0700
@@ -94,7 +94,7 @@
* of the three cycle methods:
* <p>
* <center>
- * <img src = "doc-files/LinearGradientPaint.png">
+ * <img src = "doc-files/LinearGradientPaint.png" alt="LinearGradientPaint">
* </center>
*
* @see java.awt.Paint
--- a/jdk/src/share/classes/java/awt/List.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/List.java Wed Oct 02 11:28:07 2013 -0700
@@ -61,7 +61,7 @@
* scrolling list:
* <p>
* <img src="doc-files/List-1.gif"
- * alt="Shows a list containing: Venus, Earth, JavaSoft, and Mars. Javasoft is selected." ALIGN=center HSPACE=10 VSPACE=7>
+ * alt="Shows a list containing: Venus, Earth, JavaSoft, and Mars. Javasoft is selected." style="float:center; margin: 7px 10px;">
* <p>
* If the List allows multiple selections, then clicking on
* an item that is already selected deselects it. In the preceding
--- a/jdk/src/share/classes/java/awt/MenuBar.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/MenuBar.java Wed Oct 02 11:28:07 2013 -0700
@@ -45,7 +45,7 @@
* <img src="doc-files/MenuBar-1.gif"
* alt="Diagram of MenuBar containing 2 menus: Examples and Options.
* Examples menu is expanded showing items: Basic, Simple, Check, and More Examples."
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* A menu bar handles keyboard shortcuts for menu items, passing them
* along to its child menus.
--- a/jdk/src/share/classes/java/awt/MenuItem.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/MenuItem.java Wed Oct 02 11:28:07 2013 -0700
@@ -42,8 +42,8 @@
* <p>
* This picture of a menu bar shows five menu items:
* <IMG SRC="doc-files/MenuBar-1.gif" alt="The following text describes this graphic."
- * ALIGN=CENTER HSPACE=10 VSPACE=7>
- * <br CLEAR=LEFT>
+ * style="float:center; margin: 7px 10px;">
+ * <br style="clear:left;">
* The first two items are simple menu items, labeled
* <code>"Basic"</code> and <code>"Simple"</code>.
* Following these two items is a separator, which is itself
--- a/jdk/src/share/classes/java/awt/RadialGradientPaint.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/RadialGradientPaint.java Wed Oct 02 11:28:07 2013 -0700
@@ -80,14 +80,14 @@
* from the focus point. The following figure shows that the distance AB
* is equal to the distance BC, and the distance AD is equal to the distance DE.
* <center>
- * <img src = "doc-files/RadialGradientPaint-3.png">
+ * <img src = "doc-files/RadialGradientPaint-3.png" alt="RadialGradientPaint-3">
* </center>
* If the gradient and graphics rendering transforms are uniformly scaled and
* the user sets the focus so that it coincides with the center of the circle,
* the gradient color proportions are equal for any line drawn from the center.
* The following figure shows the distances AB, BC, AD, and DE. They are all equal.
* <center>
- * <img src = "doc-files/RadialGradientPaint-4.png">
+ * <img src = "doc-files/RadialGradientPaint-4.png" alt="RadialGradientPaint-4">
* </center>
* Note that some minor variations in distances may occur due to sampling at
* the granularity of a pixel.
@@ -117,7 +117,7 @@
* (centered) focus for each of the three cycle methods:
* <p>
* <center>
- * <img src = "doc-files/RadialGradientPaint-1.png">
+ * <img src = "doc-files/RadialGradientPaint-1.png" alt="RadialGradientPaint-1">
* </center>
*
* <p>
@@ -141,7 +141,7 @@
* focus for each of the three cycle methods:
* <p>
* <center>
- * <img src = "doc-files/RadialGradientPaint-2.png">
+ * <img src = "doc-files/RadialGradientPaint-2.png" alt="RadialGradientPaint-2">
* </center>
*
* @see java.awt.Paint
--- a/jdk/src/share/classes/java/awt/Scrollbar.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/Scrollbar.java Wed Oct 02 11:28:07 2013 -0700
@@ -42,7 +42,7 @@
* the red, green, and blue components of a color:
* <p>
* <img src="doc-files/Scrollbar-1.gif" alt="Image shows 3 vertical sliders, side-by-side."
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* Each scroll bar in this example could be created with
* code similar to the following:
@@ -60,7 +60,7 @@
* <p>
* <img src="doc-files/Scrollbar-2.gif"
* alt="Image shows horizontal slider with starting range of 0 and ending range of 300. The slider thumb is labeled 60."
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* The value range represented by the bubble in this example
* is the <em>visible amount</em>. The horizontal scroll bar
@@ -295,7 +295,7 @@
* Constructs a new vertical scroll bar.
* The default properties of the scroll bar are listed in
* the following table:
- * <p> </p>
+ * <p>
* <table border=1 summary="Scrollbar default properties">
* <tr>
* <th>Property</th>
--- a/jdk/src/share/classes/java/awt/SystemTray.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/SystemTray.java Wed Oct 02 11:28:07 2013 -0700
@@ -361,7 +361,7 @@
/**
* Adds a {@code PropertyChangeListener} to the list of listeners for the
* specific property. The following properties are currently supported:
- * <p> </p>
+ * <p>
* <table border=1 summary="SystemTray properties">
* <tr>
* <th>Property</th>
@@ -384,7 +384,7 @@
* The property is accessed by the {@link #getSystemTray} method.</td>
* </tr>
* </table>
- * <p> </p>
+ * <p>
* The {@code listener} listens to property changes only in this context.
* <p>
* If {@code listener} is {@code null}, no exception is thrown
--- a/jdk/src/share/classes/java/awt/TextArea.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/TextArea.java Wed Oct 02 11:28:07 2013 -0700
@@ -42,7 +42,7 @@
* The following image shows the appearance of a text area:
* <p>
* <img src="doc-files/TextArea-1.gif" alt="A TextArea showing the word 'Hello!'"
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* This text area could be created by the following line of code:
* <p>
--- a/jdk/src/share/classes/java/awt/TextField.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/TextField.java Wed Oct 02 11:28:07 2013 -0700
@@ -42,7 +42,7 @@
* display the predefined text <code>"Hello"</code>.
* <p>
* <img src="doc-files/TextField-1.gif" alt="The preceding text describes this image."
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* Here is the code that produces these four text fields:
* <p>
--- a/jdk/src/share/classes/java/awt/Window.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/Window.java Wed Oct 02 11:28:07 2013 -0700
@@ -85,7 +85,7 @@
* <p>
* <img src="doc-files/MultiScreen.gif"
* alt="Diagram shows virtual device containing 4 physical screens. Primary physical screen shows coords (0,0), other screen shows (-80,-100)."
- * ALIGN=center HSPACE=10 VSPACE=7>
+ * style="float:center; margin: 7px 10px;">
* <p>
* In such an environment, when calling {@code setLocation},
* you must pass a virtual coordinate to this method. Similarly,
--- a/jdk/src/share/classes/java/awt/font/TextAttribute.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/font/TextAttribute.java Wed Oct 02 11:28:07 2013 -0700
@@ -97,10 +97,10 @@
* <h4>Summary of attributes</h4>
* <p>
* <font size="-1">
- * <table align="center" border="0" cellspacing="0" cellpadding="2" width="%95"
+ * <table style="float:center" border="0" cellspacing="0" cellpadding="2" width="%95"
* summary="Key, value type, principal constants, and default value
* behavior of all TextAttributes">
- * <tr bgcolor="#ccccff">
+ * <tr style="background-color:#ccccff">
* <th valign="TOP" align="CENTER">Key</th>
* <th valign="TOP" align="CENTER">Value Type</th>
* <th valign="TOP" align="CENTER">Principal Constants</th>
@@ -115,7 +115,7 @@
</td>
* <td valign="TOP">"Default" (use platform default)</td>
* </tr>
- * <tr bgcolor="#eeeeff">
+ * <tr style="background-color:#eeeeff">
* <td valign="TOP">{@link #WEIGHT}</td>
* <td valign="TOP">Number</td>
* <td valign="TOP">WEIGHT_REGULAR, WEIGHT_BOLD</td>
@@ -127,7 +127,7 @@
* <td valign="TOP">WIDTH_CONDENSED, WIDTH_REGULAR,<br>WIDTH_EXTENDED</td>
* <td valign="TOP">WIDTH_REGULAR</td>
* </tr>
- * <tr bgcolor="#eeeeff">
+ * <tr style="background-color:#eeeeff">
* <td valign="TOP">{@link #POSTURE}</td>
* <td valign="TOP">Number</td>
* <td valign="TOP">POSTURE_REGULAR, POSTURE_OBLIQUE</td>
@@ -139,7 +139,7 @@
* <td valign="TOP">none</td>
* <td valign="TOP">12.0</td>
* </tr>
- * <tr bgcolor="#eeeeff">
+ * <tr style="background-color:#eeeeff">
* <td valign="TOP">{@link #TRANSFORM}</td>
* <td valign="TOP">{@link TransformAttribute}</td>
* <td valign="TOP">See TransformAttribute {@link TransformAttribute#IDENTITY IDENTITY}</td>
@@ -151,7 +151,7 @@
* <td valign="TOP">SUPERSCRIPT_SUPER, SUPERSCRIPT_SUB</td>
* <td valign="TOP">0 (use the standard glyphs and metrics)</td>
* </tr>
- * <tr bgcolor="#eeeeff">
+ * <tr style="background-color:#eeeeff">
* <td valign="TOP">{@link #FONT}</td>
* <td valign="TOP">{@link java.awt.Font}</td>
* <td valign="TOP">none</td>
@@ -163,7 +163,7 @@
* <td valign="TOP">none</td>
* <td valign="TOP">null (draw text using font glyphs)</td>
* </tr>
- * <tr bgcolor="#eeeeff">
+ * <tr style="background-color:#eeeeff">
* <td valign="TOP">{@link #FOREGROUND}</td>
* <td valign="TOP">{@link java.awt.Paint}</td>
* <td valign="TOP">none</td>
@@ -175,7 +175,7 @@
* <td valign="TOP">none</td>
* <td valign="TOP">null (do not render background)</td>
* </tr>
- * <tr bgcolor="#eeeeff">
+ * <tr style="background-color:#eeeeff">
* <td valign="TOP">{@link #UNDERLINE}</td>
* <td valign="TOP">Integer</td>
* <td valign="TOP">UNDERLINE_ON</td>
@@ -187,7 +187,7 @@
* <td valign="TOP">STRIKETHROUGH_ON</td>
* <td valign="TOP">false (do not render strikethrough)</td>
* </tr>
- * <tr bgcolor="#eeeeff">
+ * <tr style="background-color:#eeeeff">
* <td valign="TOP">{@link #RUN_DIRECTION}</td>
* <td valign="TOP">Boolean</td>
* <td valign="TOP">RUN_DIRECTION_LTR<br>RUN_DIRECTION_RTL</td>
@@ -199,7 +199,7 @@
* <td valign="TOP">none</td>
* <td valign="TOP">0 (use base line direction)</td>
* </tr>
- * <tr bgcolor="#eeeeff">
+ * <tr style="background-color:#eeeeff">
* <td valign="TOP">{@link #JUSTIFICATION}</td>
* <td valign="TOP">Number</td>
* <td valign="TOP">JUSTIFICATION_FULL</td>
@@ -211,7 +211,7 @@
* <td valign="TOP">(see class)</td>
* <td valign="TOP">null (do not apply input highlighting)</td>
* </tr>
- * <tr bgcolor="#eeeeff">
+ * <tr style="background-color:#eeeeff">
* <td valign="TOP">{@link #INPUT_METHOD_UNDERLINE}</td>
* <td valign="TOP">Integer</td>
* <td valign="TOP">UNDERLINE_LOW_ONE_PIXEL,<br>UNDERLINE_LOW_TWO_PIXEL</td>
@@ -223,7 +223,7 @@
* <td valign="TOP">SWAP_COLORS_ON</td>
* <td valign="TOP">false (do not swap colors)</td>
* </tr>
- * <tr bgcolor="#eeeeff">
+ * <tr style="background-color:#eeeeff">
* <td valign="TOP">{@link #NUMERIC_SHAPING}</td>
* <td valign="TOP">{@link java.awt.font.NumericShaper}</td>
* <td valign="TOP">none</td>
@@ -235,7 +235,7 @@
* <td valign="TOP">KERNING_ON</td>
* <td valign="TOP">0 (do not request kerning)</td>
* </tr>
- * <tr bgcolor="#eeeeff">
+ * <tr style="background-color:#eeeeff">
* <td valign="TOP">{@link #LIGATURES}</td>
* <td valign="TOP">Integer</td>
* <td valign="TOP">LIGATURES_ON</td>
--- a/jdk/src/share/classes/java/awt/geom/AffineTransform.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/geom/AffineTransform.java Wed Oct 02 11:28:07 2013 -0700
@@ -47,7 +47,7 @@
* [ 1 ] [ 0 0 1 ] [ 1 ] [ 1 ]
* </pre>
* <p>
- * <a name="quadrantapproximation"><h4>Handling 90-Degree Rotations</h4></a>
+ * <a name="quadrantapproximation"></a><h4>Handling 90-Degree Rotations</h4>
* <p>
* In some variations of the <code>rotate</code> methods in the
* <code>AffineTransform</code> class, a double-precision argument
--- a/jdk/src/share/classes/java/awt/geom/Line2D.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/geom/Line2D.java Wed Oct 02 11:28:07 2013 -0700
@@ -82,7 +82,7 @@
public float y2;
/**
- * Constructs and initializes a Line with coordinates (0, 0) -> (0, 0).
+ * Constructs and initializes a Line with coordinates (0, 0) → (0, 0).
* @since 1.2
*/
public Float() {
@@ -249,7 +249,7 @@
public double y2;
/**
- * Constructs and initializes a Line with coordinates (0, 0) -> (0, 0).
+ * Constructs and initializes a Line with coordinates (0, 0) → (0, 0).
* @since 1.2
*/
public Double() {
@@ -623,7 +623,7 @@
* specified line segment
* @param y2 the Y coordinate of the end point of the
* specified line segment
- * @return <true> if this line segment and the specified line segment
+ * @return {@code <true>} if this line segment and the specified line segment
* intersect each other; <code>false</code> otherwise.
* @since 1.2
*/
--- a/jdk/src/share/classes/java/awt/print/PrinterJob.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/java/awt/print/PrinterJob.java Wed Oct 02 11:28:07 2013 -0700
@@ -98,7 +98,7 @@
* Calling this method is equivalent to calling
* {@link javax.print.PrintServiceLookup#lookupPrintServices(
* DocFlavor, AttributeSet)
- * <code>PrintServiceLookup.lookupPrintServices()</code>}
+ * PrintServiceLookup.lookupPrintServices()}
* and specifying a Pageable DocFlavor.
* @return a possibly empty array of 2D print services.
* @since 1.4
@@ -136,8 +136,8 @@
* <code>PrinterJob</code> instances which support print services.
* Calling this method is equivalent to calling
* {@link javax.print.StreamPrintServiceFactory#lookupStreamPrintServiceFactories(DocFlavor, String)
- * <code>StreamPrintServiceFactory.lookupStreamPrintServiceFactories()
- * </code>} and specifying a Pageable DocFlavor.
+ * StreamPrintServiceFactory.lookupStreamPrintServiceFactories()
+ * } and specifying a Pageable DocFlavor.
*
* @param mimeType the required output format, or null to mean any format.
* @return a possibly empty array of 2D stream print service factories.
@@ -155,7 +155,7 @@
/**
* A <code>PrinterJob</code> object should be created using the
- * static {@link #getPrinterJob() <code>getPrinterJob</code>} method.
+ * static {@link #getPrinterJob() getPrinterJob} method.
*/
public PrinterJob() {
}
--- a/jdk/src/share/classes/javax/print/Doc.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/print/Doc.java Wed Oct 02 11:28:07 2013 -0700
@@ -65,8 +65,8 @@
* representation object "consumes" the print data as the caller obtains the
* print data, such as a print data representation object which is a stream.
* Once the Print Job has called {@link #getPrintData()
- * <CODE>getPrintData()</CODE>} and obtained the stream, any further calls to
- * {@link #getPrintData() <CODE>getPrintData()</CODE>} will return the same
+ * getPrintData()} and obtained the stream, any further calls to
+ * {@link #getPrintData() getPrintData()} will return the same
* stream object upon which reading may already be in progress, <I>not</I> a new
* stream object that will re-read the print data from the beginning. Specifying
* a doc object to behave this way simplifies the implementation of doc objects,
@@ -83,7 +83,7 @@
* object is constructed. In this case the doc object might provide a "lazy"
* implementation that generates the print data representation object (and/or
* the print data) only when the Print Job calls for it (when the Print Job
- * calls the {@link #getPrintData() <CODE>getPrintData()</CODE>} method).
+ * calls the {@link #getPrintData() getPrintData()} method).
* <P>
* There is no restriction on the number of client threads that may be
* simultaneously accessing the same doc. Therefore, all implementations of
--- a/jdk/src/share/classes/javax/print/DocFlavor.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/print/DocFlavor.java Wed Oct 02 11:28:07 2013 -0700
@@ -53,7 +53,7 @@
* <LI>
* <B>Representation class name.</B> This specifies the fully-qualified name of
* the class of the object from which the actual print data comes, as returned
- * by the {@link java.lang.Class#getName() <CODE>Class.getName()</CODE>} method.
+ * by the {@link java.lang.Class#getName() Class.getName()} method.
* (Thus the class name for <CODE>byte[]</CODE> is <CODE>"[B"</CODE>, for
* <CODE>char[]</CODE> it is <CODE>"[C"</CODE>.)
* </UL>
@@ -174,7 +174,7 @@
* platform for data (eg files) stored in that platform's encoding.
* A CharSet which corresponds to this and is suitable for use in a
* mime-type for a DocFlavor can be obtained
- * from {@link DocFlavor#hostEncoding <CODE>DocFlavor.hostEncoding</CODE>}
+ * from {@link DocFlavor#hostEncoding DocFlavor.hostEncoding}
* This may not always be the primary IANA name but is guaranteed to be
* understood by this VM.
* For common flavors, the pre-defined *HOST DocFlavors may be used.
@@ -669,7 +669,7 @@
/**
* Doc flavor with MIME type = <CODE>"text/plain"</CODE>,
* encoded in the host platform encoding.
- * See {@link DocFlavor#hostEncoding <CODE>hostEncoding</CODE>}
+ * See {@link DocFlavor#hostEncoding hostEncoding}
* Print data representation class name =
* <CODE>"[B"</CODE> (byte array).
*/
@@ -728,7 +728,7 @@
/**
* Doc flavor with MIME type = <CODE>"text/html"</CODE>,
* encoded in the host platform encoding.
- * See {@link DocFlavor#hostEncoding <CODE>hostEncoding</CODE>}
+ * See {@link DocFlavor#hostEncoding hostEncoding}
* Print data representation class name =
* <CODE>"[B"</CODE> (byte array).
*/
@@ -838,7 +838,7 @@
/**
* Class DocFlavor.INPUT_STREAM provides predefined static constant
* DocFlavor objects for example doc flavors using a byte stream ({@link
- * java.io.InputStream <CODE>java.io.InputStream</CODE>}) as the print
+ * java.io.InputStream java.io.InputStream}) as the print
* data representation class.
* <P>
*
@@ -868,7 +868,7 @@
/**
* Doc flavor with MIME type = <CODE>"text/plain"</CODE>,
* encoded in the host platform encoding.
- * See {@link DocFlavor#hostEncoding <CODE>hostEncoding</CODE>}
+ * See {@link DocFlavor#hostEncoding hostEncoding}
* Print data representation class name =
* <CODE>"java.io.InputStream"</CODE> (byte stream).
*/
@@ -925,7 +925,7 @@
/**
* Doc flavor with MIME type = <CODE>"text/html"</CODE>,
* encoded in the host platform encoding.
- * See {@link DocFlavor#hostEncoding <CODE>hostEncoding</CODE>}
+ * See {@link DocFlavor#hostEncoding hostEncoding}
* Print data representation class name =
* <CODE>"java.io.InputStream"</CODE> (byte stream).
*/
@@ -1041,7 +1041,7 @@
* Class DocFlavor.URL provides predefined static constant DocFlavor
* objects.
* For example doc flavors using a Uniform Resource Locator ({@link
- * java.net.URL <CODE>java.net.URL</CODE>}) as the print data
+ * java.net.URL java.net.URL}) as the print data
* representation class.
* <P>
*
@@ -1068,7 +1068,7 @@
/**
* Doc flavor with MIME type = <CODE>"text/plain"</CODE>,
* encoded in the host platform encoding.
- * See {@link DocFlavor#hostEncoding <CODE>hostEncoding</CODE>}
+ * See {@link DocFlavor#hostEncoding hostEncoding}
* Print data representation class name =
* <CODE>"java.net.URL"</CODE> (byte stream).
*/
@@ -1125,7 +1125,7 @@
/**
* Doc flavor with MIME type = <CODE>"text/html"</CODE>,
* encoded in the host platform encoding.
- * See {@link DocFlavor#hostEncoding <CODE>hostEncoding</CODE>}
+ * See {@link DocFlavor#hostEncoding hostEncoding}
* Print data representation class name =
* <CODE>"java.net.URL"</CODE> (byte stream).
*/
@@ -1280,7 +1280,7 @@
/**
* Class DocFlavor.STRING provides predefined static constant DocFlavor
* objects for example doc flavors using a string ({@link java.lang.String
- * <CODE>java.lang.String</CODE>}) as the print data representation class.
+ * java.lang.String}) as the print data representation class.
* As such, the character set is Unicode.
* <P>
*
@@ -1328,7 +1328,7 @@
/**
* Class DocFlavor.READER provides predefined static constant DocFlavor
* objects for example doc flavors using a character stream ({@link
- * java.io.Reader <CODE>java.io.Reader</CODE>}) as the print data
+ * java.io.Reader java.io.Reader}) as the print data
* representation class. As such, the character set is Unicode.
* <P>
*
--- a/jdk/src/share/classes/javax/print/MultiDoc.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/print/MultiDoc.java Wed Oct 02 11:28:07 2013 -0700
@@ -39,9 +39,9 @@
* docs. A multidoc object is like a node in the linked list, containing the
* current doc in the list and a pointer to the next node (multidoc) in the
* list. The Print Job can call the multidoc's {@link #getDoc()
- * <CODE>getDoc()</CODE>} method to get the current doc. When it's ready to go
+ * getDoc()} method to get the current doc. When it's ready to go
* on to the next doc, the Print Job can call the multidoc's {@link #next()
- * <CODE>next()</CODE>} method to get the next multidoc, which contains the
+ * next()} method to get the next multidoc, which contains the
* next doc. So Print Job code for accessing a multidoc might look like this:
* <PRE>
* void processMultiDoc(MultiDoc theMultiDoc) {
@@ -88,12 +88,12 @@
* multiple docs to a Print Job, every Print Service proxy that supports
* multidoc print jobs is required to access a MultiDoc object using the
* interleaved pattern. That is, given a MultiDoc object, the print service
- * proxy will call {@link #getDoc() <CODE>getDoc()</CODE>} one or more times
+ * proxy will call {@link #getDoc() getDoc()} one or more times
* until it successfully obtains the current Doc object. The print service proxy
* will then obtain the current doc's print data, not proceeding until all the
* print data is obtained or an unrecoverable error occurs. If it is able to
* continue, the print service proxy will then call {@link #next()
- * <CODE>next()</CODE>} one or more times until it successfully obtains either
+ * next()} one or more times until it successfully obtains either
* the next MultiDoc object or an indication that there are no more. An
* implementation of interface MultiDoc can assume the print service proxy will
* follow this interleaved pattern; for any other pattern of usage, the MultiDoc
--- a/jdk/src/share/classes/javax/print/attribute/standard/Finishings.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/print/attribute/standard/Finishings.java Wed Oct 02 11:28:07 2013 -0700
@@ -42,16 +42,16 @@
* Standard Finishings values are:
* <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100% SUMMARY="layout">
* <TR>
- * <TD WIDTH=10%>
+ * <TD STYLE="WIDTH:10%">
*
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #NONE NONE}
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #STAPLE STAPLE}
* </TD>
- * <TD WIDTH=36%>
+ * <TD STYLE="WIDTH:36%">
* {@link #EDGE_STITCH EDGE_STITCH}
* </TD>
* </TR>
@@ -78,70 +78,70 @@
* corner or an edge as if the document were a portrait document:
* <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100% SUMMARY="layout">
* <TR>
- * <TD WIDTH=10%>
+ * <TD STYLE="WIDTH:10%">
*
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #STAPLE_TOP_LEFT STAPLE_TOP_LEFT}
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #EDGE_STITCH_LEFT EDGE_STITCH_LEFT}
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #STAPLE_DUAL_LEFT STAPLE_DUAL_LEFT}
* </TD>
- * <TD WIDTH=9%>
+ * <TD STYLE="WIDTH:9%">
*
* </TD>
* </TR>
* <TR>
- * <TD WIDTH=10%>
+ * <TD STYLE="WIDTH:10%">
*
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #STAPLE_BOTTOM_LEFT STAPLE_BOTTOM_LEFT}
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #EDGE_STITCH_TOP EDGE_STITCH_TOP}
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #STAPLE_DUAL_TOP STAPLE_DUAL_TOP}
* </TD>
- * <TD WIDTH=9%>
+ * <TD STYLE="WIDTH:9%">
*
* </TD>
* </TR>
* <TR>
- * <TD WIDTH=10%>
+ * <TD STYLE="WIDTH:10%">
*
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #STAPLE_TOP_RIGHT STAPLE_TOP_RIGHT}
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #EDGE_STITCH_RIGHT EDGE_STITCH_RIGHT}
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #STAPLE_DUAL_RIGHT STAPLE_DUAL_RIGHT}
* </TD>
- * <TD WIDTH=9%>
+ * <TD STYLE="WIDTH:9%">
*
* </TD>
* </TR>
* <TR>
- * <TD WIDTH=10%>
+ * <TD STYLE="WIDTH:10%">
*
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #STAPLE_BOTTOM_RIGHT STAPLE_BOTTOM_RIGHT}
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #EDGE_STITCH_BOTTOM EDGE_STITCH_BOTTOM}
* </TD>
- * <TD WIDTH=27%>
+ * <TD STYLE="WIDTH:27%">
* {@link #STAPLE_DUAL_BOTTOM STAPLE_DUAL_BOTTOM}
* </TD>
- * <TD WIDTH=9%>
+ * <TD STYLE="WIDTH:9%">
*
* </TD>
* </TR>
--- a/jdk/src/share/classes/javax/print/attribute/standard/JobStateReasons.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/print/attribute/standard/JobStateReasons.java Wed Oct 02 11:28:07 2013 -0700
@@ -110,7 +110,7 @@
* The underlying hash set's initial capacity and load factor are as
* specified in the superclass constructor {@link
* java.util.HashSet#HashSet(java.util.Collection)
- * <CODE>HashSet(Collection)</CODE>}.
+ * HashSet(Collection)}.
*
* @param collection Collection to copy.
*
--- a/jdk/src/share/classes/javax/print/attribute/standard/MediaPrintableArea.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/print/attribute/standard/MediaPrintableArea.java Wed Oct 02 11:28:07 2013 -0700
@@ -56,7 +56,7 @@
* any specified finishings.
* <code>PrintService</code> provides the method to query the supported
* values of an attribute in a suitable context :
- * See {@link javax.print.PrintService#getSupportedAttributeValues(Class,DocFlavor, AttributeSet) <code>PrintService.getSupportedAttributeValues()</code>}
+ * See {@link javax.print.PrintService#getSupportedAttributeValues(Class,DocFlavor, AttributeSet) PrintService.getSupportedAttributeValues()}
* <p>
* The rectangular printable area is defined thus:
* The (x,y) origin is positioned at the top-left of the paper in portrait
@@ -153,8 +153,8 @@
* Get the printable area as an array of 4 values in the order
* x, y, w, h. The values returned are in the given units.
* @param units
- * Unit conversion factor, e.g. {@link #INCH <CODE>INCH</CODE>} or
- * {@link #MM <CODE>MM</CODE>}.
+ * Unit conversion factor, e.g. {@link #INCH INCH} or
+ * {@link #MM MM}.
*
* @return printable area as array of x, y, w, h in the specified units.
*
@@ -170,8 +170,8 @@
* Get the x location of the origin of the printable area in the
* specified units.
* @param units
- * Unit conversion factor, e.g. {@link #INCH <CODE>INCH</CODE>} or
- * {@link #MM <CODE>MM</CODE>}.
+ * Unit conversion factor, e.g. {@link #INCH INCH} or
+ * {@link #MM MM}.
*
* @return x location of the origin of the printable area in the
* specified units.
@@ -187,8 +187,8 @@
* Get the y location of the origin of the printable area in the
* specified units.
* @param units
- * Unit conversion factor, e.g. {@link #INCH <CODE>INCH</CODE>} or
- * {@link #MM <CODE>MM</CODE>}.
+ * Unit conversion factor, e.g. {@link #INCH INCH} or
+ * {@link #MM MM}.
*
* @return y location of the origin of the printable area in the
* specified units.
@@ -203,8 +203,8 @@
/**
* Get the width of the printable area in the specified units.
* @param units
- * Unit conversion factor, e.g. {@link #INCH <CODE>INCH</CODE>} or
- * {@link #MM <CODE>MM</CODE>}.
+ * Unit conversion factor, e.g. {@link #INCH INCH} or
+ * {@link #MM MM}.
*
* @return width of the printable area in the specified units.
*
@@ -218,8 +218,8 @@
/**
* Get the height of the printable area in the specified units.
* @param units
- * Unit conversion factor, e.g. {@link #INCH <CODE>INCH</CODE>} or
- * {@link #MM <CODE>MM</CODE>}.
+ * Unit conversion factor, e.g. {@link #INCH INCH} or
+ * {@link #MM MM}.
*
* @return height of the printable area in the specified units.
*
@@ -292,8 +292,8 @@
* given units.
*
* @param units
- * Unit conversion factor, e.g. {@link #INCH <CODE>INCH</CODE>} or
- * {@link #MM <CODE>MM</CODE>}.
+ * Unit conversion factor, e.g. {@link #INCH INCH} or
+ * {@link #MM MM}.
* @param unitsName
* Units name string, e.g. <CODE>"in"</CODE> or <CODE>"mm"</CODE>. If
* null, no units name is appended to the result.
--- a/jdk/src/share/classes/javax/print/attribute/standard/MultipleDocumentHandling.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/print/attribute/standard/MultipleDocumentHandling.java Wed Oct 02 11:28:07 2013 -0700
@@ -71,7 +71,7 @@
* <UL>
* <LI>
* <A NAME="sdfi">{@link #SINGLE_DOCUMENT
- * <B><CODE>SINGLE_DOCUMENT</CODE></B>}</A>. If a print job has multiple
+ * <B>SINGLE_DOCUMENT</B>}</A>. If a print job has multiple
* documents -- say, the document data is called <CODE>a</CODE> and
* <CODE>b</CODE> -- then the result of processing all the document data
* (<CODE>a</CODE> and then <CODE>b</CODE>) must be treated as a single sequence
@@ -86,7 +86,7 @@
* <P>
* <LI>
* <A NAME="sducfi">{@link #SEPARATE_DOCUMENTS_UNCOLLATED_COPIES
- * <B><CODE>SEPARATE_DOCUMENTS_UNCOLLATED_COPIES</CODE></B>}</A>. If a print job
+ * <B>SEPARATE_DOCUMENTS_UNCOLLATED_COPIES</B>}</A>. If a print job
* has multiple documents -- say, the document data is called <CODE>a</CODE> and
* <CODE>b</CODE> -- then the result of processing the data in each document
* instance must be treated as a single sequence of media sheets for finishing
@@ -99,7 +99,7 @@
* <P>
* <LI>
* <A NAME="sdccfi">{@link #SEPARATE_DOCUMENTS_COLLATED_COPIES
- * <B><CODE>SEPARATE_DOCUMENTS_COLLATED_COPIES</CODE></B>}</A>. If a print job
+ * <B>SEPARATE_DOCUMENTS_COLLATED_COPIES</B>}</A>. If a print job
* has multiple documents -- say, the document data is called <CODE>a</CODE> and
* <CODE>b</CODE> -- then the result of processing the data in each document
* instance must be treated as a single sequence of media sheets for finishing
@@ -112,7 +112,7 @@
* <P>
* <LI>
* <A NAME="sdnsfi">{@link #SINGLE_DOCUMENT_NEW_SHEET
- * <B><CODE>SINGLE_DOCUMENT_NEW_SHEET</CODE></B>}</A>. Same as SINGLE_DOCUMENT,
+ * <B>SINGLE_DOCUMENT_NEW_SHEET</B>}</A>. Same as SINGLE_DOCUMENT,
* except that the printer must ensure that the first impression of each
* document instance in the job is placed on a new media sheet. This value
* allows multiple documents to be stapled together with a single staple where
@@ -127,7 +127,7 @@
* next document or document copy on to a new sheet.
* <P>
* In addition, if a {@link Finishings Finishings} attribute of
- * {@link Finishings#STAPLE <CODE>STAPLE</CODE>} is specified, then:
+ * {@link Finishings#STAPLE STAPLE} is specified, then:
* <UL>
* <LI>
* With SINGLE_DOCUMENT, documents <CODE>a</CODE> and <CODE>b</CODE> are
--- a/jdk/src/share/classes/javax/print/attribute/standard/PrinterStateReasons.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/print/attribute/standard/PrinterStateReasons.java Wed Oct 02 11:28:07 2013 -0700
@@ -129,7 +129,7 @@
* Severity} mappings as the given map. The underlying hash map's initial
* capacity and load factor are as specified in the superclass constructor
* {@link java.util.HashMap#HashMap(java.util.Map)
- * <CODE>HashMap(Map)</CODE>}.
+ * HashMap(Map)}.
*
* @param map Map to copy.
*
--- a/jdk/src/share/classes/javax/print/attribute/standard/Sides.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/print/attribute/standard/Sides.java Wed Oct 02 11:28:07 2013 -0700
@@ -134,7 +134,7 @@
* sides of consecutive media sheets, such that the orientation of each
* pair of print-stream pages on the medium would be correct for the
* reader as if for binding on the long edge. This imposition is also
- * known as "duplex" (see {@link #DUPLEX <CODE>DUPLEX</CODE>}).
+ * known as "duplex" (see {@link #DUPLEX DUPLEX}).
*/
public static final Sides TWO_SIDED_LONG_EDGE = new Sides(1);
@@ -143,19 +143,19 @@
* sides of consecutive media sheets, such that the orientation of each
* pair of print-stream pages on the medium would be correct for the
* reader as if for binding on the short edge. This imposition is also
- * known as "tumble" (see {@link #TUMBLE <CODE>TUMBLE</CODE>}).
+ * known as "tumble" (see {@link #TUMBLE TUMBLE}).
*/
public static final Sides TWO_SIDED_SHORT_EDGE = new Sides(2);
/**
* An alias for "two sided long edge" (see {@link #TWO_SIDED_LONG_EDGE
- * <CODE>TWO_SIDED_LONG_EDGE</CODE>}).
+ * TWO_SIDED_LONG_EDGE}).
*/
public static final Sides DUPLEX = TWO_SIDED_LONG_EDGE;
/**
* An alias for "two sided short edge" (see {@link #TWO_SIDED_SHORT_EDGE
- * <CODE>TWO_SIDED_SHORT_EDGE</CODE>}).
+ * TWO_SIDED_SHORT_EDGE}).
*/
public static final Sides TUMBLE = TWO_SIDED_SHORT_EDGE;
--- a/jdk/src/share/classes/javax/swing/JLayeredPane.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/JLayeredPane.java Wed Oct 02 11:28:07 2013 -0700
@@ -44,12 +44,12 @@
* <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/layeredpane.html">How to Use a Layered Pane</a>,
* a section in <em>The Java Tutorial</em>.
* <P>
- * <TABLE ALIGN="RIGHT" BORDER="0" SUMMARY="layout">
+ * <TABLE STYLE="FLOAT:RIGHT" BORDER="0" SUMMARY="layout">
* <TR>
* <TD ALIGN="CENTER">
- * <P ALIGN="CENTER"><IMG SRC="doc-files/JLayeredPane-1.gif"
+ * <P STYLE="TEXT-ALIGN:CENTER"><IMG SRC="doc-files/JLayeredPane-1.gif"
* alt="The following text describes this image."
- * WIDTH="269" HEIGHT="264" ALIGN="BOTTOM" BORDER="0">
+ * WIDTH="269" HEIGHT="264" STYLE="FLOAT:BOTTOM; BORDER=0">
* </TD>
* </TR>
* </TABLE>
--- a/jdk/src/share/classes/javax/swing/JOptionPane.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/JOptionPane.java Wed Oct 02 11:28:07 2013 -0700
@@ -108,16 +108,16 @@
* the caller until the user's interaction is complete.
* <p>
*
- * <table cellspacing=6 cellpadding=4 border=0 align=right summary="layout">
+ * <table cellspacing=6 cellpadding=4 border=0 style="float:right" summary="layout">
* <tr>
- * <td bgcolor=#FFe0d0 rowspan=2>icon</td>
- * <td bgcolor=#FFe0d0>message</td>
+ * <td style="background-color:#FFe0d0" rowspan=2>icon</td>
+ * <td style="background-color:#FFe0d0">message</td>
* </tr>
* <tr>
- * <td bgcolor=#FFe0d0>input value</td>
+ * <td style="background-color:#FFe0d0">input value</td>
* </tr>
* <tr>
- * <td bgcolor=#FFe0d0 colspan=2>option buttons</td>
+ * <td style="background-color:#FFe0d0" colspan=2>option buttons</td>
* </tr>
* </table>
*
@@ -127,7 +127,7 @@
* ultimately responsible for the final result. In particular, the
* look-and-feels will adjust the layout to accommodate the option pane's
* <code>ComponentOrientation</code> property.
- * <br clear=all>
+ * <br style="clear:all">
* <p>
* <b>Parameters:</b><br>
* The parameters to these methods follow consistent patterns:
--- a/jdk/src/share/classes/javax/swing/JScrollPane.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/JScrollPane.java Wed Oct 02 11:28:07 2013 -0700
@@ -54,12 +54,12 @@
* a section in <em>The Java Tutorial</em>. Note that
* <code>JScrollPane</code> does not support heavyweight components.
* <p>
- * <TABLE ALIGN="RIGHT" BORDER="0" SUMMARY="layout">
+ * <TABLE STYLE="FLOAT:RIGHT" BORDER="0" SUMMARY="layout">
* <TR>
* <TD ALIGN="CENTER">
- * <P ALIGN="CENTER"><IMG SRC="doc-files/JScrollPane-1.gif"
+ * <P STYLE="TEXT-ALIGN:CENTER"><IMG SRC="doc-files/JScrollPane-1.gif"
* alt="The following text describes this image."
- * WIDTH="256" HEIGHT="248" ALIGN="BOTTOM" BORDER="0">
+ * WIDTH="256" HEIGHT="248" STYLE="FLOAT:BOTTOM; BORDER:0px">
* </TD>
* </TR>
* </TABLE>
--- a/jdk/src/share/classes/javax/swing/JTabbedPane.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/JTabbedPane.java Wed Oct 02 11:28:07 2013 -0700
@@ -207,7 +207,7 @@
}
/**
- * Returns the UI object which implements the L&F for this component.
+ * Returns the UI object which implements the L&F for this component.
*
* @return a <code>TabbedPaneUI</code> object
* @see #setUI
@@ -217,7 +217,7 @@
}
/**
- * Sets the UI object which implements the L&F for this component.
+ * Sets the UI object which implements the L&F for this component.
*
* @param ui the new UI object
* @see UIDefaults#getUI
@@ -250,7 +250,7 @@
/**
* Returns the name of the UI class that implements the
- * L&F for this component.
+ * L&F for this component.
*
* @return the string "TabbedPaneUI"
* @see JComponent#getUIClassID
@@ -576,7 +576,7 @@
*
* @param index the index to be selected
* @exception IndexOutOfBoundsException if index is out of range
- * (index < -1 || index >= tab count)
+ * {@code (index < -1 || index >= tab count)}
*
* @see #getSelectedIndex
* @see SingleSelectionModel#setSelectedIndex
@@ -924,7 +924,7 @@
* if added to other containers.
* @param index the index of the tab to be removed
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #addTab
* @see #insertTab
@@ -1043,7 +1043,7 @@
* @param index the index of the component to remove from the
* <code>tabbedpane</code>
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
* @see #addTab
* @see #removeTabAt
*/
@@ -1105,7 +1105,7 @@
* @param index the index of the item being queried
* @return the title at <code>index</code>
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
* @see #setTitleAt
*/
public String getTitleAt(int index) {
@@ -1118,7 +1118,7 @@
* @param index the index of the item being queried
* @return the icon at <code>index</code>
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #setIconAt
*/
@@ -1137,7 +1137,7 @@
* @param index the index of the item being queried
* @return the icon at <code>index</code>
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #setDisabledIconAt
*/
@@ -1155,7 +1155,7 @@
* @param index the index of the item being queried
* @return a string containing the tool tip text at <code>index</code>
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #setToolTipTextAt
* @since 1.3
@@ -1171,7 +1171,7 @@
* @return the <code>Color</code> of the tab background at
* <code>index</code>
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #setBackgroundAt
*/
@@ -1186,7 +1186,7 @@
* @return the <code>Color</code> of the tab foreground at
* <code>index</code>
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #setForegroundAt
*/
@@ -1202,7 +1202,7 @@
* @return true if the tab at <code>index</code> is enabled;
* false otherwise
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #setEnabledAt
*/
@@ -1216,7 +1216,7 @@
* @param index the index of the item being queried
* @return the <code>Component</code> at <code>index</code>
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #setComponentAt
*/
@@ -1281,7 +1281,7 @@
* <code>index</code> is not currently visible in the UI,
* or if there is no UI set on this <code>tabbedpane</code>
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*/
public Rectangle getBoundsAt(int index) {
checkIndex(index);
@@ -1303,7 +1303,7 @@
* @param index the tab index where the title should be set
* @param title the title to be displayed in the tab
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #getTitleAt
* @see #setTabComponentAt
@@ -1345,7 +1345,7 @@
* @param index the tab index where the icon should be set
* @param icon the icon to be displayed in the tab
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #setDisabledIconAt
* @see #getIconAt
@@ -1389,7 +1389,7 @@
* @param index the tab index where the disabled icon should be set
* @param disabledIcon the icon to be displayed in the tab when disabled
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #getDisabledIconAt
* @beaninfo
@@ -1414,7 +1414,7 @@
* @param index the tab index where the tooltip text should be set
* @param toolTipText the tooltip text to be displayed for the tab
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #getToolTipTextAt
* @beaninfo
@@ -1443,14 +1443,14 @@
* which can be <code>null</code>, in which case the tab's background color
* will default to the background color of the <code>tabbedpane</code>.
* An internal exception is raised if there is no tab at that index.
- * <p/>
+ * <p>
* It is up to the look and feel to honor this property, some may
* choose to ignore it.
*
* @param index the tab index where the background should be set
* @param background the color to be displayed in the tab's background
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #getBackgroundAt
* @beaninfo
@@ -1476,14 +1476,14 @@
* <code>null</code>, in which case the tab's foreground color
* will default to the foreground color of this <code>tabbedpane</code>.
* An internal exception is raised if there is no tab at that index.
- * <p/>
+ * <p>
* It is up to the look and feel to honor this property, some may
* choose to ignore it.
*
* @param index the tab index where the foreground should be set
* @param foreground the color to be displayed as the tab's foreground
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #getForegroundAt
* @beaninfo
@@ -1510,7 +1510,7 @@
* @param index the tab index which should be enabled/disabled
* @param enabled whether or not the tab should be enabled
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #isEnabledAt
*/
@@ -1530,7 +1530,7 @@
* @param index the tab index where this component is being placed
* @param component the component for the tab
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #getComponentAt
* @beaninfo
@@ -1605,8 +1605,8 @@
* @param tabIndex the index of the tab that the mnemonic refers to
* @param mnemonicIndex index into the <code>String</code> to underline
* @exception IndexOutOfBoundsException if <code>tabIndex</code> is
- * out of range (<code>tabIndex < 0 || tabIndex >= tab
- * count</code>)
+ * out of range ({@code tabIndex < 0 || tabIndex >= tab
+ * count})
* @exception IllegalArgumentException will be thrown if
* <code>mnemonicIndex</code> is >= length of the tab
* title , or < -1
@@ -1649,7 +1649,7 @@
* @param tabIndex the index of the tab that the mnemonic refers to
* @param mnemonic the key code which represents the mnemonic
* @exception IndexOutOfBoundsException if <code>tabIndex</code> is out
- * of range (<code>tabIndex < 0 || tabIndex >= tab count</code>)
+ * of range ({@code tabIndex < 0 || tabIndex >= tab count})
* @see #getMnemonicAt(int)
* @see #setDisplayedMnemonicIndexAt(int,int)
*
@@ -2354,7 +2354,7 @@
* @param component the component to render the title for the
* specified tab
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
* @exception IllegalArgumentException if component has already been
* added to this <code>JTabbedPane</code>
*
@@ -2386,7 +2386,7 @@
* @param index the index of the item being queried
* @return the tab component at <code>index</code>
* @exception IndexOutOfBoundsException if index is out of range
- * (index < 0 || index >= tab count)
+ * {@code (index < 0 || index >= tab count)}
*
* @see #setTabComponentAt
* @since 1.6
--- a/jdk/src/share/classes/javax/swing/LookAndFeel.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/LookAndFeel.java Wed Oct 02 11:28:07 2013 -0700
@@ -91,7 +91,7 @@
* to provide a specific set of defaults. These are documented in the
* classes that require the specific default.
*
- * <h3><a name="#defaultRecommendation">ComponentUIs and defaults</a></h2>
+ * <h3><a name="#defaultRecommendation">ComponentUIs and defaults</a></h3>
*
* All {@code ComponentUIs} typically need to set various properties
* on the {@code JComponent} the {@code ComponentUI} is providing the
@@ -590,7 +590,7 @@
* Distinct look and feels should have different names, e.g.
* a subclass of MotifLookAndFeel that changes the way a few components
* are rendered should be called "CDE/Motif My Way"; something
- * that would be useful to a user trying to select a L&F from a list
+ * that would be useful to a user trying to select a L&F from a list
* of names.
*
* @return short identifier for the look and feel
--- a/jdk/src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java Wed Oct 02 11:28:07 2013 -0700
@@ -293,8 +293,8 @@
* <table border="1" cellpadding="1" cellspacing="0"
* summary="Metal's system color mapping">
* <tr valign="top" align="left">
- * <th bgcolor="#CCCCFF" align="left">Key
- * <th bgcolor="#CCCCFF" align="left">Value
+ * <th style="background-color:#CCCCFF" align="left">Key
+ * <th style="background-color:#CCCCFF" align="left">Value
* <tr valign="top" align="left">
* <td>"desktop"
* <td>{@code theme.getDesktopColor()}
--- a/jdk/src/share/classes/javax/swing/plaf/metal/MetalTreeUI.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/plaf/metal/MetalTreeUI.java Wed Oct 02 11:28:07 2013 -0700
@@ -46,7 +46,7 @@
*
* <table summary="Descriptions of supported hints: Angled, Horizontal, and None">
* <tr>
- * <th><p align="left">Angled</p></th>
+ * <th><p style="text-align:left">Angled</p></th>
* <td>A line is drawn connecting the child to the parent. For handling
* of the root node refer to
* {@link javax.swing.JTree#setRootVisible} and
@@ -54,11 +54,11 @@
* </td>
* </tr>
* <tr>
- * <th><p align="left">Horizontal</p></th>
+ * <th><p style="text-align:left">Horizontal</p></th>
* <td>A horizontal line is drawn dividing the children of the root node.</td>
* </tr>
* <tr>
- * <th><p align="left">None</p></th>
+ * <th><p style="text-align:left">None</p></th>
* <td>Do not draw any visual indication between nodes.</td>
* </tr>
* </table>
--- a/jdk/src/share/classes/javax/swing/text/Document.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/text/Document.java Wed Oct 02 11:28:07 2013 -0700
@@ -46,7 +46,7 @@
* used are the location between two characters. As the diagram
* below shows, a location in a text document can be referred to
* as a position, or an offset. This position is zero-based.
- * <p align=center><img src="doc-files/Document-coord.gif"
+ * <p style="text-align:center"><img src="doc-files/Document-coord.gif"
* alt="The following text describes this graphic.">
* <p>
* In the example, if the content of a document is the
@@ -69,7 +69,7 @@
* Exactly what structure is modeled is up to a particular Document
* implementation. It might be as simple as no structure (i.e. a
* simple text field), or it might be something like diagram below.
- * <p align=center><img src="doc-files/Document-structure.gif"
+ * <p style="text-align:center"><img src="doc-files/Document-structure.gif"
* alt="Diagram shows Book->Chapter->Paragraph">
* <p>
* The unit of structure (i.e. a node of the tree) is referred to
@@ -122,7 +122,7 @@
* generated since that edit is actually the source of the change
* rather than a mutation to the <code>Document</code> made through its
* api.
- * <p align=center><img src="doc-files/Document-notification.gif"
+ * <p style="text-align:center"><img src="doc-files/Document-notification.gif"
* alt="The preceeding text describes this graphic.">
* <p>
* Referring to the above diagram, suppose that the component shown
@@ -267,7 +267,7 @@
* For a removal, the end of the removal range is collapsed
* down to the start of the range, and any marks in the removal
* range are collapsed down to the start of the range.
- * <p align=center><img src="doc-files/Document-remove.gif"
+ * <p style="text-align:center"><img src="doc-files/Document-remove.gif"
* alt="Diagram shows removal of 'quick' from 'The quick brown fox.'">
* <p>
* If the Document structure changed as result of the removal,
@@ -300,7 +300,7 @@
* insertUpdate method on the DocumentListener.
* The offset and length of the generated DocumentEvent
* will indicate what change was actually made to the Document.
- * <p align=center><img src="doc-files/Document-insert.gif"
+ * <p style="text-align:center"><img src="doc-files/Document-insert.gif"
* alt="Diagram shows insertion of 'quick' in 'The quick brown fox'">
* <p>
* If the Document structure changed as result of the insertion,
--- a/jdk/src/share/classes/javax/swing/text/MaskFormatter.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/text/MaskFormatter.java Wed Oct 02 11:28:07 2013 -0700
@@ -40,7 +40,7 @@
* <table border=1 summary="Valid characters and their descriptions">
* <tr>
* <th>Character </th>
- * <th><p align="left">Description</p></th>
+ * <th><p style="text-align:left">Description</p></th>
* </tr>
* <tr>
* <td>#</td>
--- a/jdk/src/share/classes/javax/swing/text/View.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/text/View.java Wed Oct 02 11:28:07 2013 -0700
@@ -68,7 +68,7 @@
implementation, the minimum span will be <= the preferred span which in turn
will be <= the maximum span.
</p>
- <p align=center><img src="doc-files/View-flexibility.jpg"
+ <p style="text-align:center"><img src="doc-files/View-flexibility.jpg"
alt="The above text describes this graphic.">
<p>The minimum set of methods for layout are:
<ul>
@@ -95,7 +95,7 @@
This allows parent View implementations to cache the child requirements if
desired. The calling sequence looks something like the following:
</p>
- <p align=center>
+ <p style="text-align:center">
<img src="doc-files/View-layout.jpg"
alt="Sample calling sequence between parent view and child view:
setSize, getMinimum, getPreferred, getMaximum, getAlignment, setSize">
--- a/jdk/src/share/classes/javax/swing/text/html/HTMLDocument.java Wed Oct 02 21:02:04 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/text/html/HTMLDocument.java Wed Oct 02 11:28:07 2013 -0700
@@ -195,14 +195,14 @@
* <th><code>setOuterHTML</code></th>
* </tr>
* <tr valign="top">
- * <td nowrap="nowrap">
+ * <td style="white-space:nowrap">
* <div style="background-color: silver;">
* <p>Paragraph 1</p>
* <p>Paragraph 2</p>
* </div>
* </td>
* <!--insertAfterStart-->
- * <td nowrap="nowrap">
+ * <td style="white-space:nowrap">
* <div style="background-color: silver;">
* <ul style="color: red;">
* <li>List Item</li>
@@ -212,7 +212,7 @@
* </div>
* </td>
* <!--insertBeforeEnd-->
- * <td nowrap="nowrap">
+ * <td style="white-space:nowrap">
* <div style="background-color: silver;">
* <p>Paragraph 1</p>
* <p>Paragraph 2</p>
@@ -222,7 +222,7 @@
* </div>
* </td>
* <!--insertBeforeStart-->
- * <td nowrap="nowrap">
+ * <td style="white-space:nowrap">
* <ul style="color: red;">
* <li>List Item</li>
* </ul>
@@ -232,7 +232,7 @@
* </div>
* </td>
* <!--insertAfterEnd-->
- * <td nowrap="nowrap">
+ * <td style="white-space:nowrap">
* <div style="background-color: silver;">
* <p>Paragraph 1</p>
* <p>Paragraph 2</p>
@@ -242,7 +242,7 @@
* </ul>
* </td>
* <!--setInnerHTML-->
- * <td nowrap="nowrap">
+ * <td style="white-space:nowrap">
* <div style="background-color: silver;">
* <ul style="color: red;">
* <li>List Item</li>
@@ -250,7 +250,7 @@
* </div>
* </td>
* <!--setOuterHTML-->
- * <td nowrap="nowrap">
+ * <td style="white-space:nowrap">
* <ul style="color: red;">
* <li>List Item</li>
* </ul>