Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to kill an applet(VERY URGENT)

 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have project in which I have different buttons on HTML. When user clicks on any button it will call same applet with different parameters to display different GUI's. It is working fine with IE. But in Netscape 4.7 when I click on any button on HTML it will call an applet. After that if I click on other button it will call same applet with different parameter values from HTML.BUT I SAW IN JAVA CONSOLE THAT IT DOESN'T KILL THE PREVIOUS APPLET. So ultimately, if click that five buttons one by one, Resource free memory goes down. HOW I CAN KILL APPLET IN THIS PARTICULAR NETSCAPE OR THIS KIND OF BROWSERS???
P.S.: I am using Stop and Destroy method. In Stop I closed socket. And In Destroy I don't do anything.
Thanks,
Angela
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should not try to destroy the applet yourself, that is up to the browser. What you should be ding is just redrawing the GUI inside the applet... not launching a new applet with new parameters.

-Nate
 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic