How to differentiate selection events among panels in a tabbedpane.
0 posts in topic
Flat View  Flat View

Posted By:   Abhishek_Pathak
Posted On:   Monday, March 19, 2001 02:54 PM

For a number of panels in a TabbedPane, each having a tree sharing a common TreeSelectionModel, how do I differentiate between treeselectionevents when the panel is shown and when its behind the tab?
I tried this.hasFocus()(for individual panel) which is never true and this.isVisible() which is always true regardless of whether that panel is in the front or behind the tabs!!

About | Sitemap | Contact