Name: vi73552 Date: 05/27/99
-1-
The JTabbedPane does not allow to know which tab (and not its
associated pane) is currently pointed by the mouse. So there is
no way to add a "special" mouse handler.
Ex.:
- Bring a popup menu when r-click on a tab
- Customize tab content when d-click.
A method like getTabAT(x,y) or equivalent would be appreciated.
-2-
You also fixed the display of the Tab to a Label (which is a nice
default). You could use the same approach you used with trees,
lists and tables where a cell renderer can be set.
ex: setTabRenderer(myOwnRenderer).
(Review ID: 83567)
======================================================================