jdk/src/share/classes/java/awt/GridLayout.java
changeset 20451 4cedf4e1560a
parent 20172 f48935a247ec
child 21957 97758de70fbd
--- 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