• Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT check boxes

 
vijay shanker
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

is there any way i can use check boxes on my page and get only one of the four check box selected at any one time.

if there exists any thing like that please suggest me.

thanks.
 
Campbell Ritchie
Marshal
Posts: 52581
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That actually sounds like the behaviour of JRadioButtons, in a Group. (Or maybe a ButtonGroup).

If you insist on using check boxes like that, see whether you can put check boxes into a ButtonGroup and whether you can add a Listener which un-checks the others. But radio Buttons sound better.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!