File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JCheckBox problem

 
Vikas Kumar Sahu
Ranch Hand
Posts: 59
  • 0
  • 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
Posts: 1535
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic