🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Garbage Collection ... Urgent..

#17237
From: Arumugam
Date: Mon, 07 Dec 1998 00:00
96 lines
3662 bytes
--------------D0557790D704CF8E75902AB0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

John P. McGrath wrote:

> 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>

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.

Thanks and Regards

Arumugam

--
B. Arumugam
Mitsubishi Space Software, JAPAN.
Phone ; +81-467-47-6708
E-Mail : arumugam@kbo.mss.co.jp



--------------D0557790D704CF8E75902AB0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
John P. McGrath wrote:
<BLOCKQUOTE TYPE=CITE>Arumugam &lt;arumugam@kbo.mss.co.jp> wrote:

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

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

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

<P>--
<BR>Regards,

<P>John P. McGrath
<BR>&lt;mcgrath@enter.net>
<BR>&lt;jpm@nscs.fast.net></BLOCKQUOTE>
It was not&nbsp; talking about restarting the program... but restarting
the frame (ONE more instance of the XFrame).
<BR>I&nbsp;have deleted the frame by calling&nbsp; XFrame = null;
<BR>Again I&nbsp;am creating the frame by calling new XFrame.

<P>Thanks and Regards

<P>Arumugam
<PRE>--&nbsp;
B. Arumugam
Mitsubishi Space Software, JAPAN.&nbsp;
Phone ; +81-467-47-6708
E-Mail : arumugam@kbo.mss.co.jp</PRE>
&nbsp;</HTML>

--------------D0557790D704CF8E75902AB0--
Technical Details
Message-ID: <366B605B.7E46315A@kbo.mss.co.jp>
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>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,6016f55752add430
X-Google-Attributes: gidf74b3,public
From: Arumugam <arumugam@kbo.mss.co.jp>
Subject: Re: Garbage Collection ... Urgent..
Date: 1998/12/07
Message-ID: <366B605B.7E46315A@kbo.mss.co.jp>
X-Deja-AN: 419520493
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>
Content-Type: multipart/alternative; boundary="------------D0557790D704CF8E75902AB0"
Organization: Mitsubishi Space Software, JAPAN
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language