Java Reference
In-Depth Information
The Swing user interface toolkit has a large set of user-interface components. How do
you know if there is a slider? You can buy a book that illustrates all Swing
components, such as [
2
]. Or you can run the sample application included in the Java
Development Kit that shows off all Swing components (see
Figure 11
). Or you can
look at the names of all of the classes that start with
J
and decide that
JSlider
may
be a good candidate.
Figure 10
A Color Viewer
808