Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to bind a int value to a jcheckbox ?  RSS feed

 
Kevin Pang
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
setActionCommand(String.valueOf(yourIntValue))
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!