Simple Events: ChangeEvent
Some Swing components are relatively simple, and cannot generate
A JSlider, for example, can only generate a single relevant event: movements of the thumb.
Swing has a convenient event object for this type of simple light-weight: the ChangeEvent.
The corresponding interface for this object has a single method:
public void stateChange(ChangeEvent e);