java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JToggleButton
javax.swing.JCheckBox
public class JCheckBox extends JToggleButton
Field Summary | |
---|---|
static String |
BORDER_PAINTED_FLAT_CHANGED_PROPERTY
Identifies a change to the flat property. |
Constructor Summary |
---|
JCheckBox()
Creates an initially unselected check box button with no text, no icon. |
JCheckBox(String text)
Creates an initially unselected check box with text. |
JCheckBox(String text,
boolean selected)
Creates a check box with text and specifies whether or not it is initially selected. |