🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3449

Re: Destroying applets in Netscape Communicator...

#3449
From: Martin Jul
Date: Thu, 18 Dec 1997 00:00
35 lines
1814 bytes
You might want to call to call dispose() on the window and null out all
references to it. That should get rid of it.
/Martin

Dhruva Reddy wrote:
> 
> Hello all,
> 
> I have created an applet that spawns a window.  When I run it in
> Netscape Communicator (with the JDK 1.1 patch), it does not let me
> destroy the window and exit the program unless I exit Netscape itsself.
> I have tried handling the Window Closing event with both dispose() and
> System.exit(0), but to no avail.  The window stays up even if I point to
> another page.  It worked fine in JBuilder's applet tester with no event
> handling code.
> 
> I vaguely remember reading something about Netscape's caching system
> resulting in an undesirably tenacious hold on applets.  Could this have
> something to do with it?
> 
> Any help would be greatly appreciated.
> 
> Thanks,
> Dhruva Reddy
> --
> -----------------------------------------------------------
> Dhruva B. Reddy                mailto:dreddy@cgi.com
> Carnegie Group, Inc.           707 17th Street, Suite 2100
> (303) 295 0366 x336            Denver, CO 80202, USA
> -----------------------------------------------------------

-- 
Martin Jul  (mjul@math.ku.dk)   Tel. +45 31 18 42 70
--------------- "Who is John Galt?" ----------------
Technical Details
Message-ID: <3498619E.5C15ABC@math.ku.dk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3497CF4C.B4D0CD1A@cgi.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,5dc33f5587f8016f
X-Google-Attributes: gid1089d0,public
From: Martin Jul <mjul@math.ku.dk>
Subject: Re: Destroying applets in Netscape Communicator...
Date: 1997/12/18
Message-ID: <3498619E.5C15ABC@math.ku.dk>
X-Deja-AN: 299212443
Content-Transfer-Encoding: 7bit
References: <3497CF4C.B4D0CD1A@cgi.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: None
Newsgroups: borland.public.jbuilder.java.api