I have a strange behavior happening with a JXTaskPane added to a JPanel.
The JXTaskPane has lists of multiple (expandable) sections of icons and then it is added to JXTaskPaneContainer.
The taskPaneContainer is then added to the JPanel.
This JPanel is added to a JTabbedPane.
When the program starts and that (2nd) tab is setSelectedComponent, that TaskPane with the list of icon sections (inside the container) flashes briefly expanded (with scroll bar) before it displays collapsed. Its nuissance behavior that I am trying to eliminate.
Why does it show expanded briefly before it displays to its set collapsed state?