Hi,
I have my main class, which creates a window that contains a frame, and that frame contains two panels from two seperate custom classes.
There is a button in one of the panel classes that wants to create a new "window" and dispose of the one originally created.
I can't work out how to go about that. Can anyone help?
Cheers,
George
edit: in case that wasn't clear, can a frame be disposed from buttons created in another class?
I have my main class, which creates a window that contains a frame, and that frame contains two panels from two seperate custom classes.
There is a button in one of the panel classes that wants to create a new "window" and dispose of the one originally created.
I can't work out how to go about that. Can anyone help?
Cheers,
George
edit: in case that wasn't clear, can a frame be disposed from buttons created in another class?