Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JCheckBox

Status
Not open for further replies.

confucious

IS-IT--Management
Aug 30, 2002
1
CL
This is an easy one I think,
I'm using a javax.swing.JCheckBox on my project, how can I check/uncheck it by code? I'm used to VB and the way of doing it seems to be different...

sorry for taking your time
 
JCheckbox state = new JCheckbox("State");
...
...
state.setSelected(true);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top