Use a JCheckBox bean
to provide a settings choice that has two states, such as on and off.
A mark in the check box indicates that the choice is selected. You can
customize the images used for unselected and selected check boxes.
Adding a button component
Sun's JCheckBox bean documentation
Button beans
Beans for visual composition