Re: How to get one GUI to wait for input on second GUI



> I have one GUI that opens up a second GUI in a different class. How can I
> get the first GUI to pause until the OK (or cancel) button is pressed on the
> second GUI? I'm using Swing, JDK1.3.

Check out the JOptionPane class.

.