Those Pesky JFrames
Hey there,
I have a jframe, in which when i click a button it launches a new jframe.
Pretty simple..
However in the method that launches the new jframe i have further instructions proceeding the new jframe call which i dont want executed until work in the new jframe is completed.
Is there a way for me to put the calling jframe on hold until the new jframe either closes or notifies the caller that work has finished?
example:
private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {
NewJFrame1 b = new NewJFrame1();
//Dont want these methods to be called until the jFrame b completes
this.doSomeMoreWork();
that.doSomeWorkAlso();
}
Many Thanks

