What is "jslider"
The JSlider
can display major scale marks and smaller scale marks among the major ones. The number of values between scale marks is controlled with setMajorTickSpacing
and setMinorTickSpacing
. The display of scale marks is controlled by setPaintTicks
.
Sliders
can also print text labels at regular intervals (or arbitrary locations) along the slider. The display of labels is controlled by setLabelTable
and setPaintLabels
.
For more information and examples, see How to use Sliders , a section of The Java Tutorial.