This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JCheckBox problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JCheckBox problem" Watch "JCheckBox problem" New topic
Author

JCheckBox problem

Vikas Kumar Sahu
Ranch Hand

Joined: Dec 02, 2003
Posts: 59
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

Joined: Jan 14, 2004
Posts: 1535
 
 
subject: JCheckBox problem
 
Similar Threads
Select All checkbox in Jtable
Check Box in JTable header
Problem While using check boxes
code in jsp for check all button
A diffrent type of checkbox problem