You may get a better response by sending the message to <a href="http://ajug.org">ajug.org</a> group. It is a very active java user group.<br><br>Mike Barnes<br><br><div class="gmail_quote">On Fri, Jan 23, 2009 at 12:36 PM, Greg Freemyer <span dir="ltr">&lt;<a href="mailto:greg.freemyer@gmail.com">greg.freemyer@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">All,<br>
<br>
How can a java applet terminate cleanly with Java 1.6.10 or newer?<br>
<br>
== Details<br>
I&#39;m not much of Java programmer, but we have a applet we support.<br>
<br>
We launch it in its own browser window (Firefox / IE / whatever) from<br>
a web-portal page.<br>
<br>
In the applet we currently have a pull-down menu that allows the user<br>
to exit the application by calling system.exit()<br>
<br>
It has a nasty side effect of closing all browser windows, but we&#39;ve<br>
been living with that for while.<br>
<br>
As of Java 1.6.10 or above no longer allow calls to system.exit()<br>
<br>
So we need to redo our code, but we can&#39;t figure out a clean way to do it.<br>
<br>
We have attempted having the our applet terminate by simply<br>
redirecting back to the portal page. &nbsp;The redirect works, but if we<br>
try to relaunch the applet it fails due to initialization issues. &nbsp;We<br>
assume the JRE is not properly being reset by a simple redirect.<br>
<br>
Any suggestions welcome.<br>
<br>
FYI: We definitely have to support XP based clients, but I assume this<br>
is fairly OS agnostic.<br>
<br>
Greg<br>
--<br>
Greg Freemyer<br>
Litigation Triage Solutions Specialist<br>
<a href="http://www.linkedin.com/in/gregfreemyer" target="_blank">http://www.linkedin.com/in/gregfreemyer</a><br>
First 99 Days Litigation White Paper -<br>
<a href="http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf" target="_blank">http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf</a><br>
<br>
The Norcross Group<br>
The Intersection of Evidence &amp; Technology<br>
<a href="http://www.norcrossgroup.com" target="_blank">http://www.norcrossgroup.com</a><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
</blockquote></div><br>