This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 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: 4351

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
wood burning stoves
subject: Issue in JRadioButton
It's not a secret anymore!