--- old/src/java.desktop/share/classes/java/awt/GridLayout.java 2019-06-11 18:02:13.000000000 -0700 +++ new/src/java.desktop/share/classes/java/awt/GridLayout.java 2019-06-11 18:02:13.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -55,26 +55,21 @@ * If the container's {@code ComponentOrientation} property is horizontal * and right-to-left, the example produces the output shown in Figure 2. * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
Figures
Shows 6 buttons in rows of 2. Row 1 shows buttons 1 then 2.
- * Row 2 shows buttons 3 then 4. Row 3 shows buttons 5 then 6. - * Shows 6 buttons in rows of 2. Row 1 shows buttons 2 then 1.
- * Row 2 shows buttons 4 then 3. Row 3 shows buttons 6 then 5. - *
Figure 1: Horizontal, Left-to-RightFigure 2: Horizontal, Right-to-Left
+ *
+ *
+ *

Shows 6 buttons in rows of 2. Row 1 shows buttons 1 then 2.
+ *        Row 2 shows buttons 3 then 4. Row 3 shows buttons 5 then 6. + *

Figure 1: Horizontal, Left-to-Right + *

+ *
+ *

Shows 6 buttons in rows of 2. Row 1 shows buttons 2 then 1.
+ *        Row 2 shows buttons 4 then 3. Row 3 shows buttons 6 then 5. + *

Figure 2: Horizontal, Right-to-Left + *

+ *
+ *
*

* When both the number of rows and the number of columns have * been set to non-zero values, either by a constructor or