Use a Checkbox 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.
Check boxes are independently selectable, unless they are defined in a group. Use check boxes in a group to provide a set of mutually exclusive choices that appear as radio buttons. To define a group, associate each Checkbox bean with a CheckboxGroup bean.
Use a JCheckBox bean, rather than a Checkbox bean, if you want to use it in a Swing container. Although Swing and AWT beans can be mixed, it is inadvisable.
Adding a Button Component
Button Beans
Beans for Visual Composition