This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how to bind a int value to a jcheckbox ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to bind a int value to a jcheckbox ?" Watch "how to bind a int value to a jcheckbox ?" New topic
Author

how to bind a int value to a jcheckbox ?

Kevin Pang
Ranch Hand

Joined: Mar 01, 2005
Posts: 38
how to bind a int value to a jcheckbox? when user check the box, we can get the value of that checkbox.

Thanks.
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
setActionCommand(String.valueOf(yourIntValue))
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how to bind a int value to a jcheckbox ?
 
It's not a secret anymore!