vector life cycle

Does a vector in an applet cease to exist after the browser closes. How can I set up my applet so that the vector retains information coming in from text fields once the page is reloaded.The Noob
[209 byte] By [The_Nooba] at [2007-11-27 6:01:50]
# 1
> Does a vector in an applet cease to exist after the> browser closes. Ummm yes. > How can I set up my applet so that> the vector retains information coming in from text> fields once the page is reloaded.Voodoo?Cookies?
cotton.ma at 2007-7-12 16:42:16 > top of Java-index,Java Essentials,New To Java...
# 2

As long as I know, a vector will cease to exist just when you stop using it and garbage collector has time to eliminate it... and yes, if you close your browser vector it's no longer been using.

An applet it's suppossed to be an instance of a program, so if you reload your page, you are now running another instance.

I'm a slow guy xD

Message was edited by:

totu

totua at 2007-7-12 16:42:16 > top of Java-index,Java Essentials,New To Java...
# 3
Persistence, noun: The ability of a piece of data to outlive the process which created it
georgemca at 2007-7-12 16:42:16 > top of Java-index,Java Essentials,New To Java...
# 4
all right so how would I go about storing information that I receive from the page when a new instance starts.The Noob
The_Nooba at 2007-7-12 16:42:16 > top of Java-index,Java Essentials,New To Java...
# 5
> all right so how would I go about storing information> that I receive from the page when a new instance> starts.> > The NoobAll depends what this data is, really. For little bits of data, cookies ought to suffice
georgemca at 2007-7-12 16:42:16 > top of Java-index,Java Essentials,New To Java...
# 6
thank you, I think I'm on the right track now.The Noob
The_Nooba at 2007-7-12 16:42:16 > top of Java-index,Java Essentials,New To Java...