aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTabbedPane Refresh issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTabbedPane Refresh issue" Watch "JTabbedPane Refresh issue" New topic
Author

JTabbedPane Refresh issue

Raks Jain
Greenhorn

Joined: Jun 22, 2012
Posts: 1

Hi all.
I am trying to implement JTabbedPane. In the following code I have presented a case very similar to what I want to implement. I have created a tab by adding a JPanel to the JTabbedPane. I have added a JButton and JScrollPane to the JPanel. On click of the JButton I want to add a new JPanel having some JRadioButtons to the JScrollPane. But these are not shown even after refreshing the JScrollPane or main JPanel. Please help. The code is given below:

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
 
 
subject: JTabbedPane Refresh issue