• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to bind a int value to a jcheckbox ?

 
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
Pie
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