Chapter 3. Swing Component Basics
The previous chapter showed how easy it is to create some impressive
programs
with Swing components. Now it's time to dig in a
little deeper. We begin this chapter by presenting an overview of a
few key (but lower-level) helper classes such as
Action, GraphicsContext,
ChangeEvent, and
PropertyChangeEvent, as well as the
HeadlessException exception. We spend the
remainder of the chapter introducing the JComponent
class, the heart and soul of all Swing components.
|