File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes applet not unloading from IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "applet not unloading from IE" Watch "applet not unloading from IE" New topic

applet not unloading from IE

dan henderson

Joined: Apr 15, 2004
Posts: 1
I have an applet that is embedded in a web page. I use MSIE 6. The problem is that when the browser is closed the java console remains visible in the system tray and IEXPLORE is still a running process in Task Manager. Any help would be appreciated. If this is the wrong place to post this question, please direct me to the proper group. Thanks.
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Having the Java Plugin icon in the system tray is normal behavior - I don't think having an internet explorer task up in the task list is normal, but I'm not an expert at how IE is handled as a process across all versions of Windows. I'd test it out by opening some web pages that don't contain your applet and see if you see the same behavior.

I would ask if you are using any threads in your applet, but I don't see how this could keep the JVM in the browser alive after IE has been completely exited.

Also, this question is in the wrong forum, I will move it to the Applet forum, where you may get more help with this...

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Dan,
Welcome to JavaRanch. As Nathan points out, having the Java Plugin appear on the task bar is normal. The problem you mention happens to me quite often. I'm not sure if it is a problem with IE or with the plugin itself. Usually when the browser that initiated the plugin closes the icon goes away but sometimes for whatever reason (perhaps there are some threads that belong to the plugin that are in a wait state) it just lingers. You might try the Java Bug Parade and see if there are any known issues involving this behavior.

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Java Programmer

Joined: Apr 20, 2004
Posts: 9
Right Click on the Top-LeftMost icon on the Title bar of the Applet Menu will be displayed then Select Close from it.

Smiling on Java
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi JP,
Welcome to JavaRanch, the absolute best site on the www for Java information. We don't have many rules around here, but we do have one. Please change your display name to a first and last name to comply with the JavaRanch Naming Policy. You can change it here. Thank you for your cooperation.
I agree. Here's the link:
subject: applet not unloading from IE
jQuery in Action, 3rd edition