V
Vojta
Hello,
please could you give an advice concerning threads? I'm a Delphi programmer.
In Delphi there is OnTerminate event of thread object which gives me a
feedback that the thread has ended. Imagine you have a button in your
application. If you press the button it becomes disabled and a thread
starts. When the thread terminates it calls OnTerminate event handler in
which the button is enabled again. How can I do this in Java?
Thank you! Vojta
please could you give an advice concerning threads? I'm a Delphi programmer.
In Delphi there is OnTerminate event of thread object which gives me a
feedback that the thread has ended. Imagine you have a button in your
application. If you press the button it becomes disabled and a thread
starts. When the thread terminates it calls OnTerminate event handler in
which the button is enabled again. How can I do this in Java?
Thank you! Vojta