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.
Adding a button component
Sun's Checkbox bean documentation
Button beans
Beans for visual composition