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

JTabbedPane with closable tabs

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6u3
    • client-libs

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: