created: 01/20/02; revised: 07/19/06; refurbished: 11/10/08
This chapter discusses class
JSlider
.
A slider is a component that mimics the operation
of an adjustment slide such as sometimes
found on audio equipment.
setPreferredSize()
methodsetName()
methodgetName()
methodgetSource()
methodThere are dozens of GUI components and features in Swing. Only a few of them are covered in these chapters. All components are described in the documentation available for downloading from Sun Microsystems. Many of them are featured in Sun's on-line tutorials.
(Review:) What method adds a slider to a panel?