my requirement is like from main thread i will start
new thread ,Once the new starts the main thread has to be in wait
state..and once the new thread stops i have to start the old one again How to go about it..
The following is where i require..
1)From the main program i will call a Jdialog window.Now the main thread had to wait. The JDialog has to be in a seperate thread, once i click yes or no, then main thread to continue its execution.How to go about??
Thanks & Regards,