🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Garbage Collection ... Urgent..

#17176
From: John P. McGrath
Date: Wed, 09 Dec 1998 00:00
22 lines
1424 bytes
Arumugam <arumugam@kbo.mss.co.jp> wrote:

> It was not talking about restarting the program... 
> but restarting the frame (ONE more instance of the XFrame).
> I have deleted the frame by calling  XFrame = null;
> Again I am creating the frame by calling new XFrame.

A much better way to say it would be that you are creating a new 
instance of the XFrame, not restarting it.

If you want each instance of the XFrame to have it's own, newly 
initialized copy of the given variables, then you do not want to 
declare the variables as "static".  This specifies that there should 
be one instance of the variable for the class, rather than one for 
each XFrame.

-- 
Regards,

John P. McGrath
<mcgrath@enter.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.10d806f63b60b1fb989747@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <366268E8.72DDAB2A@spiral.mik.mss.co.jp> <36cbbfab.547846374@90.0.0.40> <3664CF03.A1DDC7D7@kbo.mss.co.jp> <370be1c9.687673616@90.0.0.40> <366B2D22.17689D9@kbo.mss.co.jp> <MPG.10d5091d55f4339c989745@forums.inprise.com> <366B605B.7E46315A@kbo.mss.co.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,6016f55752add430
X-Google-Attributes: gidf74b3,public
From: mcgrath@enter.net (John P. McGrath)
Subject: Re: Garbage Collection ... Urgent..
Date: 1998/12/09
Message-ID: <MPG.10d806f63b60b1fb989747@forums.inprise.com>
X-Deja-AN: 420368613
References: <366268E8.72DDAB2A@spiral.mik.mss.co.jp> <36cbbfab.547846374@90.0.0.40> <3664CF03.A1DDC7D7@kbo.mss.co.jp> <370be1c9.687673616@90.0.0.40> <366B2D22.17689D9@kbo.mss.co.jp> <MPG.10d5091d55f4339c989745@forums.inprise.com> <366B605B.7E46315A@kbo.mss.co.jp>
Organization: Software Consulting Services
Newsgroups: borland.public.jbuilder.java.language