Solved

Stopping Java Applet from Running?

Posted on 1998-05-05
3
197 Views
Last Modified: 2013-12-25
For Some reason the Java Applet I placed on my page still runs in my desktop after I closed my browser...
Happens both in Netscape 4.5 and IE 4.1, How did that happend?Is there any way to stop it from happening  ?
0
Comment
Question by:rodman
3 Comments
 
LVL 5

Expert Comment

by:julio011597
ID: 1855247
Have you access to the applet's code?
Maybe the stop()/destroy() methods have not been properly implemented?
0
 
LVL 3

Accepted Solution

by:
hkp earned 50 total points
ID: 1855248

If you don't have the source code:

   You can't stop the applet from running, unless it is implemented in the applet. Hence, what you have got is a so called, hostile applet. The basic problem is that the applet is starting one or more threads to run independent of the browser, but when the browser tells that it leaves the HTML page, the applet's threads are not stopped.

If you have the source code:

   Normally, the Stop() method is responsible for stopping running threads. In addition, the applet can have a Start() method which is, in addition, responsible for starting threads when revisiting a page where the applet is loaded. This way the browser doesn't have to load the applet more than once per session.
   Let me have the source code, and I will troubleshoot it.


0
 

Author Comment

by:rodman
ID: 1855249
That's great!....this app was driving me crazy ..I'll give the points to hkp,it's the best news I had the whole day.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now