Destroy

now that thread's stop and destroy methods have been deprecated....how to accomplish destroying an applet.

The applet i wroteworks fine but when i try to close the window or tab containing

the applet the browser hangs.

i used some booleans to accomplish the pausing and resuming the threads but with them at most what i can do is to pause their execution in the destroy method......but that seems to be insufficient.

can anybody reason it out?

Thanks!

[489 byte] By [Shashank@iitba] at [2007-11-27 6:15:24]
# 1
I'm pretty sure the Applet.destroy method has nothing to do with Thread.destroy unless you deliberately connect the two.The documentation re: the deprecation of Thread.destroy gives you alternative approaches you can take.
paulcwa at 2007-7-12 17:25:58 > top of Java-index,Desktop,Core GUI APIs...