Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JCheckBox problem

 
Vikas Kumar Sahu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am facing one problem, what I m doing is,
I am instantiating number of check boxes depending upon the size of the array,
and adding these checkboxes into the jpanel which layout i have set as gridlayout,
it is added and working fine , but the problem is that,
WHEN I CLICK ANY WHERE EXCEPT OVER THE CHECKBOX THAT CHECK BOXES IS SELECTED,
I WANT THAT THESE CHECK BOX WILL SELECTED WHEN I CLICK ONLY OVER THESE CHECKBOX.

:roll:
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic