--- old/src/java.desktop/share/classes/java/awt/Scrollbar.java 2017-09-03 00:46:42.000000000 -0700 +++ new/src/java.desktop/share/classes/java/awt/Scrollbar.java 2017-09-03 00:46:42.000000000 -0700 @@ -299,58 +299,44 @@ * * * - * - * - * - * - * + * + * * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * + * + * + * + * + * + * + * + * *
Scrollbar default properties
PropertyDescriptionDefault Value
Property + * Description + * Default Value *
orientationindicates whether the scroll bar is vertical - *
or horizontal
{@code Scrollbar.VERTICAL}
valuevalue which controls the location - *
of the scroll bar's bubble
0
visible amountvisible amount of the scroll bar's range, - *
typically represented by the size of the - *
scroll bar's bubble
10
minimumminimum value of the scroll bar0
maximummaximum value of the scroll bar100
unit incrementamount the value changes when the - *
Line Up or Line Down key is pressed, - *
or when the end arrows of the scrollbar - *
are clicked
1
block incrementamount the value changes when the - *
Page Up or Page Down key is pressed, - *
or when the scrollbar track is clicked - *
on either side of the bubble
10
orientation + * indicates whether the scroll bar is vertical or horizontal + * {@code Scrollbar.VERTICAL} + *
value + * value which controls the location of the scroll bar's bubble + * 0 + *
visible amount + * visible amount of the scroll bar's range, typically represented + * by the size of the scroll bar's bubble + * 10 + *
minimum + * minimum value of the scroll bar + * 0 + *
maximum + * maximum value of the scroll bar + * 100 + *
unit increment + * amount the value changes when the Line Up or Line Down key is + * pressed, or when the end arrows of the scrollbar are clicked + * 1 + *
block increment + * amount the value changes when the Page Up or Page Down key is + * pressed, or when the scrollbar track is clicked
on either side of + * the bubble + *
10 *
*