Getting to the top level dialog from sub-tabs.
If I am in a sub-tab of a tab in a dialog box, is there
1) an easy way to get a refernce to the main dialog box.
2) how can I get a list/array/whatever to the top tab list.
I have tried adding a listener on the control I get back when I call the getControl() funciton I add the listener on getControl.addListener(SWT.Show,listener); to test things out I have a few dialog boxes pop to see what values exist in side the listener classes (simple JOptionPane.showMessages) the problem is, instead of coming up after the dialog box is shown, they come up BEFORE the dialog box is shown, so when I try to read things from the dialog box the elements don't really exist and I get nulls back.
So what am I missing, is there a way to get the parent dialog box from an object that is inside of the dialog box. When I get this parent object then what is the easiest way to get the list of the high level tabs (I am assuming they are the next level of objects down)