Hey, Im trying to get my gui working but am having a few issues.
I have 3 classes, main, mainWindow, and errorWindow.
the mainWindow is instantiated from main as mainWindow m1 = new MainWindow();
anywho my problem is this....
inside my mainWindow i have a method that creates a new instance of errorWindow, and uses setEnabled() to disable the mainWindow.
at the point, the error window popups saying "you have an error", the window also contains an "ok" button.
what id like to know is how do i reference back from the errorWindow class so that i can set the mainWindow using the setEnabled() method back to true;
Any help would be appreciated.
Thanks