πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #14497

Re: Exit a browser window by an applet

#14497
From: Kobus du Toit
Date: Fri, 27 Aug 1999 00:00
32 lines
1466 bytes
System.exit(0) shuts down the VM and that is maybe why the browsers also shut
down.

Kobus

Alex wrote:

> Lori M Olson <lori@accumap.com> wrote in message
> news:7psjv5$hau2@forums.borland.com...
> > An applet can't close it's browser window, because that would halt the JVM
> > in which it is running.  I suppose you could try to get the browser window
> to
> > minimize...
> >
>
> Hello,
>
> I saw something that might be interesting to you:
>
> We ran an applet (java 1.1.6) on Win NT 4.0 SP3 within IE 4.01.
>
> We called
>
> System.exit(0);
>
> and this closed our applet-frame as well as IE window.
> BTW it closed all open explorer windows, too.
>
> I donοΏ½t think that this is what "System.exit(0)" is supposed to do, but at
> least it is what it does.
>
> Alex.
Technical Details
Message-ID: <37C66E93.684F8385@iname.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7pr8bi$fj98@forums.borland.com> <7psjv5$hau2@forums.borland.com> <7ptm8g$hs511@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,d1b411bff562fc0b
X-Google-Attributes: gidf74b3,public
From: Kobus du Toit <battlezone@iname.com>
Subject: Re: Exit a browser window by an applet
Date: 1999/08/27
Message-ID: <37C66E93.684F8385@iname.com>
X-Deja-AN: 517747989
Content-Transfer-Encoding: 8bit
References: <7pr8bi$fj98@forums.borland.com> <7psjv5$hau2@forums.borland.com> <7ptm8g$hs511@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: battlezone@iname.com
Newsgroups: borland.public.jbuilder.java.language