Name: jk109818 Date: 05/28/2003
A DESCRIPTION OF THE REQUEST :
An option to have a close(x) button on a tabbed pane would be very useful.
Applications which we develop require for tabs to be added at runtime. Also the relevance of these data is not for the entire lifetime of the application.
Plus, when a dynamic addition and removal is allowed programmatically, a button allowing the user to do the same should also be available.
EXPECTED VERSUS ACTUAL BEHAVIOR :
There should be a close button (x-button) on the top right corner of each tab, which should preferably have a mouseover highlight and which when on clicking should cause the tab to close.
No such functionality is presently available.
CUSTOMER SUBMITTED WORKAROUND :
Presently I have subclassed the JTabbedPane class and overridden paint() and installed my own EventListener to handle mouse over property changes.
(Review ID: 186259)