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

JTabbedPane with closable tabs

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 6u3
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description

      Almost all new applications with tab views (whether Firefox, IE 7, or
      Eclipse) provide a close button on each tab itself for easy closing of tabs.
      Achieving this behavior is quite difficult with the current Java JTabbedPane.

      The only way we have been able to do it is the "JTabbedPaneWithCloseIcons" implementation found here:

      http://forum.java.sun.com/thread.jspa?threadID=337070

       

      However this has the downside that we have to extend from BasicTabbedPaneUI,
      which means that any L&F's TabbedPaneUIs are overridden by our own (customized)
      BasicTabbedPaneUI. Also there is no other icon on the tab.


      Our request would be to add to the JTabbedPane implementation by allowing for
      close buttons on either side of the tab.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tyao Ting-Yun Ingrid Yao (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: