Java Reference
In-Depth Information
Table 5-6. JRadioButton UIResource Elements (Continued)
Property String
Object Type
RadioButton.rollover
Boolean
RadioButton.select
Color
RadioButton.shadow
Color
RadioButton.textIconGap
Integer
RadioButton.textShiftOffset
Integer
RadioButtonUI
String
Summary
This chapter described the components that can be toggled: JToggleButton , JCheckBox , and
JRadioButton . You've seen how each component uses the JToggleButton.ToggleButtonModel
class for its data model and how you can group the components into a ButtonGroup . In addition,
you also saw how to handle selection events for each of the components.
Chapter 6 explains how to work with the various menu-oriented Swing components.
Search WWH ::




Custom Search