The add()
method, as with any component.
JSlider
The pictures show a variety of sliders. Sliders may be oriented horizontally or vertically. The tick marks and labels are part of the slider. These may be displayed, or not, as an option.
Click on and drag the knob to adjust values.
As you drag the knob,
ChangeEvent
s are generated.
(Take a Guess: ) What type of listener responds to a ChangeEvent
?