• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet stop method execution terminated  RSS feed

 
muthu muruges
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having an applet with threads and socket. in the stop method I am doing some cleanup work. If I did refresh (IE refresh button) when the page getting painted then the applet hung. I put System.out.print messages in the stop method. I found part of the stop method not get executed fully when applet hung occured. The destroy method also not get called at that time.
Is it a Java Bug or a Browser Bug. This problem is still there even with the JRE 1.4.1. Kindly reply ASAP.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to the Applets forum... maybe they can help more there....
 
muthu muruges
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any updates?
 
Nicholas Turner
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well both are dprecated. set it to null to kill it.
and wait to pause it
stop and kill and those are deprecated
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!