Stop changing tabs in a JTabbedPane
Posted on 2006-06-22
I'm using a JTabbedPane and at some point, I need to prevent it from leaving a particular tab (due to a condition), even though the user wants to go to a different tab . Is this possible with JTabbedPane. I also want to make sure that stateChanged listener doesn't get called.