?
Solved

Stopping Java Applet from Running?

Posted on 1998-05-05
3
Medium Priority
?
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 150 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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

762 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