Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JTabbedPane - ever have problem where other tab components are showing?

843804Dec 14 2004 — edited Dec 15 2004
Hi,
I am using a JTabbedPane, and I have one tab in particular (the 1st tab) that when it is double clicked, it takes that tab's component and puts it into a JFrame and removes the tab from the tabbed pane. Then when the frame is closed, it inserts the tab back at index = 0....however, I notice that sometimes when this is done its like the first tab is selected (which is the tab i just isnerted) but the component for the last tab is visible until I either move my mouse around or change tabs. I have seen this sort of thing before with JTabbedPane, and I was wondering if anyone else has experienced similar problems. If so, did you find a solution? ....just curious if its just me or something with JTabbedPane.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 12 2005
Added on Dec 14 2004
9 comments
112 views