File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: how to bind a int value to a jcheckbox ?
 
Similar Threads
JTable - JCheckBox
Problem in JTable row selection
question about jcheckbox
TableCellRenderer setBackground of selected cell not working
How to check whether the JchJCheckBox