Slider Demo:
Java Essentials
, pgs 490-492
Applet Source Code