File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JTabbedPane event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTabbedPane event" Watch "JTabbedPane event" New topic

JTabbedPane event

smitha verghese
Ranch Hand

Joined: Jun 21, 2003
Posts: 42
Hi ,
I want to know, which event listener has to b added for the tabbedpane.
So that when i click each tab it prints which tab it is in.
pls send me the sample code.
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
I agree. Here's the link:
subject: JTabbedPane event
Similar Threads
ActionListener - event is a tab?
Auto tab event
ActionListener - event is a tab?
TabPane Events
catching TAB in key event