Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6255191

After removing the Tab component, the initial title of the Tab does not come back.

XMLWordPrintable

      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

            alexp Alexander Potochkin (Inactive)
            mjoshisunw Mayank Joshi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: