• Post Reply Bookmark Topic Watch Topic
  • New Topic

Get the tab change event in Swing  RSS feed

 
Russell Peters
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a few tabs in my application and I wanted to get the tab change event so that I can fill two of my JLists when that particular tab is selected.

I read something about implementing a ChangeListener to do it. But my question is, how will I get access to the private member (JList) of my other class(which is basically a tab in the main frame) to fill it out.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!