How can I check if a JCheckBox
is checked?
views:
12answers:
1
+2
A:
Use the isSelected
method.
You can also use an ItemListener
so you'll be notified when it's checked or unchecked.
Matthew Flaschen
2010-08-30 11:33:53