File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue in JRadioButton

 
rahul S Sharma
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sounds ideally suited to a CardLayout
 
Randall Twede
Ranch Hand
Posts: 4353
2
Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it sure does. i am surprised i never learned about this class before since it has been around from the beginning.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic