Java Reference
In-Depth Information
You also learned about the AbstractButton component, which serves as the root compo-
nent for all Swing button objects. You looked at its data model interface, ButtonModel , and the
default implementation of this interface, DefaultButtonModel . Next, you looked at the JButton
class, which is the simplest of the AbstractButton implementations. And lastly, you looked at
the JPanel as the basic Swing container object.
In Chapter 5, you'll start to dig into some of the more complex AbstractButton implemen-
tations: the toggle buttons.
Search WWH ::




Custom Search