Oh well I don't think this really needs much explaining really, but the documentation on tabs is terribly confusing.

I'm looking for a way, when I hide a window (for which I already have the method set up), to make the tab panel inside make it's first child the active panel. (no matter where the user switched to while he was using the window)

lets just say I can get the panel with this.getTabPanel() where do I go from there to activate it's first tab?