File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JCheckBox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JCheckBox" Watch "JCheckBox" New topic


Deyna Cegielski
Ranch Hand

Joined: Nov 24, 2004
Posts: 60
how do u explicitly check the box?


if(some condition = true){
check this box
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632

scroll down to
"Methods inherited from class javax.swing.AbstractButton"

it is one of the set...() methods
(it will stand out)
I agree. Here's the link:
subject: JCheckBox
It's not a secret anymore!