🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Garbage Collection ... Urgent..

#17234
From: John P. McGrath
Date: Sun, 06 Dec 1998 00:00
23 lines
1399 bytes
Arumugam <arumugam@kbo.mss.co.jp> wrote:

> I have a static variable which is set to 1 initially and
> while executing the program, if I change the value to 3
> or 4, then while restarting, it hold the latest value...
> but no the initial value..  Please let me know how to rest
> the static value.

It is not clear what you mean by "restarting".  If you restart the 
program the way that I would interpret it, all static variables would 
be assigned their initial values.

My guess is that you are talking about making the frame invisible and 
then making it visible again.  In that case, members will not be 
reinitialized.  You will have to write the code that will set the 
variables back to the desired values.

-- 
Regards,

John P. McGrath
<mcgrath@enter.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.10d5091d55f4339c989745@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>

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/06
Message-ID: <MPG.10d5091d55f4339c989745@forums.inprise.com>
X-Deja-AN: 419484386
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>
Organization: Software Consulting Services
Newsgroups: borland.public.jbuilder.java.language