Well pressing the tab implies making that tab the
active tab. If you want to do extra processing when
this occurs add a ChangeListener to the JTabbedPane.
Regards
Dave Wathen
Goldman Sachs Asset Management
3rd Floor, Procession House
55 Ludgate Hill
London EC4M 7JN
+44 (0)20-7774-2998
It is not necessary to understand things in order to argue about them.
(Caron de Beaumarchais)
-----Original Message-----
From: Perico [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 8:13 PM
To: [EMAIL PROTECTED]
Subject: A button in a tab.
Somebody have some idea to implement a JTabbedPane with a
JButton (I mean a small icon) in their tabs in order to execute an
action when this button is pressed?.
I think there's no method in JTabbedPane to do this (I only saw
a method to put an icon in a JTabbedPane, but an icon cannot have
an action associated).
Any ideas?.
Thanks a lot.
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing