Hi.
I would like to developp some boxes like FileChooser in the Swing API. So, I would like to invoke these boxes in my code. But, I want these boxes to have exclusive focus.
For example, I would like to have something like this :
String res = StringDialog.getSelectedString ();
where getSelectedString () is a static method which manages the execution of a StringDialog box, and returns the selected String when closing the box.
How can I do?
Thanks
I would like to developp some boxes like FileChooser in the Swing API. So, I would like to invoke these boxes in my code. But, I want these boxes to have exclusive focus.
For example, I would like to have something like this :
String res = StringDialog.getSelectedString ();
where getSelectedString () is a static method which manages the execution of a StringDialog box, and returns the selected String when closing the box.
How can I do?
Thanks