• Post Reply Bookmark Topic Watch Topic
  • New Topic

Events for JTabbedPane

 
Lakshmi Anantharaman
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the events fired when I choose different tabs in a JTabbedPane . What are the listenser I am supposed to use ?

Thank you
Lakshmi
 
Matt Hansen
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you would add a ChangeListener. What are you trying to do?
 
Lakshmi Anantharaman
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your reply . Yes yo are right ,infact I did add the changeListner and provided implementation for the method
public void stateChanged(ChangeEvent ce){

Lakshmi
Originally posted by Matt Hansen:
I think you would add a ChangeListener. What are you trying to do?

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!