Solved

Stopping Java Applet from Running?

Posted on 1998-05-05
3
195 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Web Site Hosting 10 68
Mobile or not?? 4 47
Navigation funky on tablet in portrait view 2 54
Add code to body in wordpress site 8 37
Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The viewer will learn how to count occurrences of each item in an array.
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.

706 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

22 Experts available now in Live!

Get 1:1 Help Now