previous
|
start
|
next
Check Boxes
Two states: checked and unchecked
Use one checkbox for a binary choice
Use a group of check boxes when one selection does not exclude another
Example: "bold" and "italic" in previous figure
Construct by giving the name in the constructor:
JCheckBox italicCheckBox = new JCheckBox("Italic");
Don't place into a button group
previous
|
start
|
next