• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 136
  • Last Modified:

Tab Event:::::::::::::::::

I have 6 tabs on the Panel or frame......When a tab  is clicked, i want it to open an application right away.  I know how to open an application, but i can't get to open an application when a JTabbedPane is clicked.  Can you give me a sample code with a tab inside a JFrame and the actionListener with it??  Thanks.
0
casper_the_ghost
Asked:
casper_the_ghost
  • 3
1 Solution
 
objectsCommented:
Use a ChangeListener on your tabbed pane.
0
 
CEHJCommented:
You need to start the application in another thread
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now