refresh a different window
I need your advice on the GUI i'm writing. Basically i want to open different frames, one of which displays data. The other ones are toolboxes.
Right now I have one overhead class that opens or closes the frames. Each frame has it's own class and displays different buttons... Data is transited through public static variables of the main class. However I am experiencing difficulty in activating a frame from another one. For example, when I click in one frame, it should do something and display the result in the other frame, but I don't know how to order the other frame to react.
Should I change the whole structure of my code?
Thanks for your help...