Use a JCheckBoxMenuItem bean to provide a menu setting choice that the user can toggle on and off.
Use a CheckboxMenuItem bean, rather than a JCheckBoxMenuItem bean, if you want to use it in an AWT menu. Although Swing and AWT beans can be mixed, it is inadvisable.
Adding a Menu or Tool Bar
Menu and Tool Bar Beans
Beans for Visual Composition