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.
Use a Checkbox bean, rather than a JCheckBox bean, if you want to use it in an AWT container. Although Swing and AWT beans can be mixed, it is inadvisable.
Adding a Button Component
Button Beans
Beans for Visual Composition