Forums Register Login

Pause program until pop-up window is displayed?

+Pie Number of slices to send: Send
Hi,
Is there any way to pause a program until a certain process is complete? I have a pop-up window that is a seperate thread. I first call it and set the thread priority to MAX. After that, I call a time consuming process. Problem is that the contents of the pop-up window do not get displayed until the time consuming process is complete. Can I somehow make the program wait until the pop-up window is fully displayed before calling the time consuming process? I've tried setting the time consuming process to MIN priority but no luck with that either.
Thanks,
Matt
+Pie Number of slices to send: Send
Have a look at Thread.join();
D.
I was her plaything! And so was this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 733 times.
Similar Threads
JDialog with no Option buttons
How does JOptionPane return the proper value?
Where's my ProgressMonitor content?
Exam on monday please reply
Multi-Thread server, accept many clients but handles one at a time?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:08:59.