Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

tab change notification in Swing

  • 11-08-2004 1:40pm
    #1
    Closed Accounts Posts: 47


    Hi there

    I have a JTabbedPane and I would like to add a listener that would be informed when the user changes tabs. I have looked at adding a ChangeListener to the tabbed pane and to the pane's selection model. No luck there. Also tried a PropertyChangeListener on the tabbed pane, but with no more success.

    Any suggestions would be appreciated.

    PHiL

    EDIT: Forget I even mentioned it. The ChangeListener is fired just fine, it's just that my logging level was wrong so I didn't see it show up in the log files I was generating. It's been one of those days....


Comments

  • Registered Users, Registered Users 2 Posts: 2,243 ✭✭✭zoro


    Tell me about it - I have them all the time :(
    On the plus side, me bieng a Java Swing lover, I knew the answer to your question :)


Advertisement