Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

kill a applet thread in JAva

  Asked By: Brayden    Date: Aug 04    Category: Java    Views: 1310
  

I have a question regarding thread. I have a "Run" button. when I
click the Run button then it start a thread and start the program. I
i want to put a stop button. so, when user click on stop button,
applet should stop working. does anyone please tell me how can this
be happen. thanks allot for..

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Rosie Hughes     Answered On: Aug 04

this command:

Thread.destroy()

causes that a thread  stops.

 
Didn't find what you were looking for? Find more on kill a applet thread in JAva Or get search suggestion and latest updates.




Tagged: