To briefly explain our setup, we are using a tab panel as the primary container for our UI. Each panel added to the tab panel is assigned a WindowGroup object and any window created by that panel gets added to the panel's WindowGroup. Then when you switch to a new tab, the code loops through the windows in the WindowGroup of the previous tab and hides them, and then loops through the windows in the WindowGroup of the newly active tab and shows those.
Some of our windows also have custom collapse/restore options that collapse the window and move it into the bottom left corner of the browser window. The issue is that when you change from a tab with a collapsed window, and then change back to that tab, the collapsed window is automatically restored by the show method. I have some code that makes sure the window get re-collapsed in that case, but it's kind of messy looking in the UI because you see the window briefly before it gets re-collapsed.
So I was just wondering if anyone knew of a way I could make these windows visible again without automatically setting off the restore process. Any suggestions would be greatly appreciated