A good answer might be:
There are several constructors.
Here is the one that is most useful:
JSlider( int orientation, int min, int max, int init)
- min: the minimum value.
The value when the slider is at the extreme left (or very bottom) of its range.
- max: the maximum value.
The value when the slider is at the extreme right (or very top) of its range.
- init: the initial value of the slider
The characteristics of the tick marks and labels are set using method calls.
Fill in the blanks to construct the slider at right:
slide = new JSlider( ______.______, ______, ______, ______ );