-
Enhancement
-
Resolution: Fixed
-
P5
-
1.1.8, 1.2.0, 1.2.1, 1.2.2, 1.4.0, 1.4.1, 6u3
-
b32
-
generic, x86, sparc
-
generic, solaris_2.5.1, windows_95, windows_nt, windows_2000, windows_xp
Name: boT120536 Date: 09/04/2001
java version "1.4.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)
It would be useful to be able to use an arbitrary Component as the label for
JTabbedPane's tabs. This way, for instance, it would be possible to have a text
label and close button on each tab.
A good example of what I envision is demonstrated in the "tabbed mode" of the
Galeon web browser at http://galeon.sourceforge.net. There, you can be browsing
several pages independently of one another, with a row of tabs along the top,
one for each such session, like a JTabbedPane with a bunch of JTextPanes would
look. Each tab in Galeon, however, has a label and a close button (a little X),
which, when clicked, closes that tab -- even if that tab isn't the currently
focused tab.
(Review ID: 131277)
======================================================================
- duplicates
-
JDK-4620537 MouseListener on JTabbedPane with SCROLL_TAB_LAYOUT policy doesn't get events.
-
- Closed
-
-
JDK-4152025 Provide control over tab orientation in JTabbedPane
-
- Closed
-
-
JDK-4220177 labels within JTabbedPane tabs should be alignable
-
- Closed
-
-
JDK-4261420 Implement mini-tabs in JTabbedPane (4198838 follow-on)
-
- Closed
-
-
JDK-4318509 JTabbedPane: add ability to specify renderers for the tabs
-
- Closed
-
-
JDK-6632934 JTabbedPane with closable tabs
-
- Closed
-
-
JDK-4140211 JTabbedPane.setTabFontAt(int index, Font f)
-
- Closed
-
-
JDK-4708614 JTabbedPane should allow arbitrary component as tab
-
- Closed
-
-
JDK-4870636 RFE: Option to have close(x) button on JTabbedPane
-
- Closed
-
- relates to
-
JDK-6259533 JTabbedPane should move tabComponent up a bit on selected tab, like it does for titles
-
- Resolved
-
-
JDK-4465870 JTabbedPane: can't intercept mouse events when using scrolled tabs
-
- Closed
-