This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one 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


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
 
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
 
subject: JCheckBox problem