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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Swing checkboxes

Status
Not open for further replies.

rotovegasBoy

Programmer
Sep 16, 1999
88
NZ
I'm working on a traffic system. I want the user to input a conflict matrix (when one traffic stream can't move at the same time as the other).  I've got an awt application working but can't figure out how to do the same with swing. in awt i just use getState and setState to set corresponding values but can't find a swing equivalent.  Any suggestions?
 
Hi,<br><br>you can replace getState() by isSelected()<br>and<br><br>setState by setSelected(boolean);<br><br>-Amol<br><br>Try letsdebug.com , they provide nice support !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top