-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
6
-
generic
-
generic
After removing the Tab component, the initial title of the Tab does not come back.
Please compile and run the attached test case with the latest Swing PIT (Containing the fix for Tabs as JComponent).
Steps to reproduce:
------------------
1) Compile and run the attached test case.
2) Notice the title of Tab 1. It is "This is tab".
3) Now Click on "Add Tab Component" Button. Notice that a button is added to the tab.
4) Now click on the "Remove the button on Tab" button. The Button is removed.
5) Notice that the tab title is empty. Where as it should be "This is Tab".
###@###.### 2005-04-14 10:44:31 GMT
Please compile and run the attached test case with the latest Swing PIT (Containing the fix for Tabs as JComponent).
Steps to reproduce:
------------------
1) Compile and run the attached test case.
2) Notice the title of Tab 1. It is "This is tab".
3) Now Click on "Add Tab Component" Button. Notice that a button is added to the tab.
4) Now click on the "Remove the button on Tab" button. The Button is removed.
5) Notice that the tab title is empty. Where as it should be "This is Tab".
###@###.### 2005-04-14 10:44:31 GMT
- duplicates
-
JDK-6252222 Adding a tab component to another parent should clean up tabbed pane
- Resolved