--- old/src/java.desktop/share/classes/javax/swing/JList.java 2017-09-03 00:46:59.000000000 -0700 +++ new/src/java.desktop/share/classes/javax/swing/JList.java 2017-09-03 00:46:59.000000000 -0700 @@ -966,25 +966,30 @@ * Describes layouts VERTICAL,HORIZONTAL_WRAP, and VERTICAL_WRAP * * - * ValueDescription + * + * Value + * Description * * - * VERTICAL - * Cells are layed out vertically in a single column. - * HORIZONTAL_WRAP - * Cells are layed out horizontally, wrapping to a new row as - * necessary. If the {@code visibleRowCount} property is less than - * or equal to zero, wrapping is determined by the width of the - * list; otherwise wrapping is done in such a way as to ensure - * {@code visibleRowCount} rows in the list. - * VERTICAL_WRAP - * Cells are layed out vertically, wrapping to a new column as - * necessary. If the {@code visibleRowCount} property is less than - * or equal to zero, wrapping is determined by the height of the - * list; otherwise wrapping is done at {@code visibleRowCount} rows. + * + * {@code VERTICAL} + * Cells are layed out vertically in a single column. + * + * {@code HORIZONTAL_WRAP} + * Cells are layed out horizontally, wrapping to a new row as + * necessary. If the {@code visibleRowCount} property is less than or + * equal to zero, wrapping is determined by the width of the list; + * otherwise wrapping is done in such a way as to ensure + * {@code visibleRowCount} rows in the list. + * + * {@code VERTICAL_WRAP} + * Cells are layed out vertically, wrapping to a new column as + * necessary. If the {@code visibleRowCount} property is less than or + * equal to zero, wrapping is determined by the height of the list; + * otherwise wrapping is done at {@code visibleRowCount} rows. * * - *

+ * * The default value of this property is VERTICAL. * * @param layoutOrientation the new layout orientation, one of: