How can I check if a JCheckBox is checked?
JCheckBox
Use the isSelected method.
You can also use an ItemListener so you'll be notified when it's checked or unchecked.
1.4m articles
1.4m replys
5 comments
56.9k users