Input Dialog Box
Hello.
I wish to design a Dialog to get String from a TextField component (a prompt box).
I would like this object to be totally independant from the parent frame :
The parent frame could create an instance of this object
ex: PromptDialog thisBox = new PromptDialog( this, ...
And then the parent frame would call a blocking method of the Dialog, waiting for a String
ex: String myString = thisBox.getPrompt();
My problem is to design this blocking method, which must only return a String to the parent frame when the user clicks on the validation button of the Dialog.
Has someone a solution ?

