jQuery in Action, 2nd edition
The moose likes Swing / AWT / SWT and the fly likes Issue in JRadioButton Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


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

Issue in JRadioButton

rahul S Sharma
Greenhorn

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.

regards....
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: 4095
    
    1
it sure does. i am surprised i never learned about this class before since it has been around from the beginning.


SCJP
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Issue in JRadioButton
 
Similar Threads
Regarding JTextField
refreshing the page when radio button clicked
Disabling form elements on a table row
How can i show backend table data in CSV format
How to get values of first page in second page