JCheckBox

Palette category
Swing
Palette bean
JCheckBox
Project
JFC class libraries
Package
com.sun.java.swing
Type
JCheckBox

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.


Related procedures
Adding a Button Component

Related references
Button Beans
Beans for Visual Composition