File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTabbedPane event" Watch "JTabbedPane event" New topic
Author

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.
Regards
Smitha
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTabbedPane event
 
It's not a secret anymore!