ChangeEvent#getSource() would return your TabbedPane.
TabbedPane has several getXxxx() methods for accessing
each tab component.
> Hi all,
>
[quoted text clipped - 13 lines]
> {
> //do something, but is there a way of knowing which tab was
int selectedTab = ((JTabbedPane)e.getSource()).getSelectedIndex();
> }
> });
[quoted text clipped - 3 lines]
> this.getContentPane().add(jtb);
> }
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)