How to check whether the tab is active or not in JTabbedPane?
- by Supereme
Hi,
How to check whether a tab in JTabbedPane instance is active or not, in the class of the tab(nested class) itself and not in the enclosing class?
I know that there is a method 'booloean isEnabledAt(int index)'; but this method can only be called in the enclosing class whereas I want to check whether the tab is currently selected or not in the tab class (nested class) itself.
Can anybody please suggest me something?
Thank you!