This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JTabbedPane Refresh issue
 
Similar Threads
problems w/ JCheckBox's and TableModel
Problem with radio button
JTextField in JScrollPane
Getting a RadioButton input
Problem with JRadioButton