[ale] Java question

mike barnes mdb3624 at gmail.com
Fri Jan 23 12:47:20 EST 2009


You may get a better response by sending the message to ajug.org group. It
is a very active java user group.

Mike Barnes

On Fri, Jan 23, 2009 at 12:36 PM, Greg Freemyer <greg.freemyer at gmail.com>wrote:

> All,
>
> How can a java applet terminate cleanly with Java 1.6.10 or newer?
>
> == Details
> I'm not much of Java programmer, but we have a applet we support.
>
> We launch it in its own browser window (Firefox / IE / whatever) from
> a web-portal page.
>
> In the applet we currently have a pull-down menu that allows the user
> to exit the application by calling system.exit()
>
> It has a nasty side effect of closing all browser windows, but we've
> been living with that for while.
>
> As of Java 1.6.10 or above no longer allow calls to system.exit()
>
> So we need to redo our code, but we can't figure out a clean way to do it.
>
> We have attempted having the our applet terminate by simply
> redirecting back to the portal page.  The redirect works, but if we
> try to relaunch the applet it fails due to initialization issues.  We
> assume the JRE is not properly being reset by a simple redirect.
>
> Any suggestions welcome.
>
> FYI: We definitely have to support XP based clients, but I assume this
> is fairly OS agnostic.
>
> Greg
> --
> Greg Freemyer
> Litigation Triage Solutions Specialist
> http://www.linkedin.com/in/gregfreemyer
> First 99 Days Litigation White Paper -
> http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf
>
> The Norcross Group
> The Intersection of Evidence & Technology
> http://www.norcrossgroup.com
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20090123/eb170891/attachment.html 


More information about the Ale mailing list