Kill a Thread
1 posts in topic
Flat View  Flat View

Posted By:   chmur_bluck
Posted On:   Friday, April 4, 2003 01:38 AM

I have got a Thread (made from swing thread).
In the run() method i create a frame with a button that has an "actionperformed" and I show this frame and I put a loop like "

But in the button action I try to kill this Thread.
But, no one of the methods from Thread class "yield", "destroy", "interrupt" seems to work.


==> How can I do to kill a Thread when I have his name or when it is the current Thread.

Re: Kill a Thread

Posted By:   Ranjit_Damodaran  
Posted On:   Friday, April 4, 2003 03:27 AM

Hope this link is useful.....
About | Sitemap | Contact