posted 17 years ago
Hi -
I've got an unusual requirement where I'm programming for a 1.1 JDK (yup: I'm using "java.awt", not "javax.swing"), I need to pop up a graphical dialog, and then wait for the dialog to complete before I exit the function.
The code looks something like this:
The GUI, "ReserveUi", looks like this:
QUESTION:
Is there any easier way I can get function "xqt()" to pause and wait for the frame to close, without creating my own semaphore object (like I did above)?
Thanx in advance .. PSM
PS:
No, unfortunately I can't simply use a modal dialog. I'm actually not sure if that would work anyway, even if I could...
[ June 18, 2006: Message edited by: Paul Santa Maria ]
Paul M. Santa Maria, SCJP