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 Issue in JRadioButton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Issue in JRadioButton" Watch "Issue in JRadioButton" New topic

Issue in JRadioButton

rahul S Sharma

Joined: Jun 08, 2011
Posts: 21
Hi All,

I have two jradiobuttons in JDialogbox. I have set functionality on each one. When I clicks on first radio button , a table displays in dialog box but when i clicks on second one , some labels and textfield appears. Both actions are overlapping each other. My requirement is that if i click on second radio button , table that is showing in dialog box should be disappear . Only labels and textfield should appear which is the result of clicking second radio button.

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
sounds ideally suited to a CardLayout
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347

it sure does. i am surprised i never learned about this class before since it has been around from the beginning.

Visit my download page
I agree. Here's the link:
subject: Issue in JRadioButton