Solved

Stopping Java Applet from Running?

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to link a specific Wordpress Post directly to the main domain (no category!) 12 171
Level out logo and increase size? 16 51
change site header 8 31
wordpress 4.7.4, theme 8 40
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to count occurrences of each item in an array.
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.

737 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