[5134] in java-interest

home help back first fref pref prev next nref lref last post

multiple instances of the same applet

daemon@ATHENA.MIT.EDU (David Lebel)
Tue Jan 30 01:33:14 1996

Date: Mon, 29 Jan 1996 23:56:27 -0500
From: David Lebel <lebel@socom.com>
Reply-To: lebel@socom.com
To: java-interest@java.sun.com

Greetings,

	I'm currently trying to push Java to its limit and thus I'm
trying to figure out what's possible and what's not under Netscape and
its current Java runtime environment.  That said, I'm currently
experimenting wierd behaviour with my (somewhat) simple imagemap
applet.

	I have 7 instances of the same applet in my page and each of
these instances have images and animations attached to them.  It takes
a long time to load, I know, but the first time, it loads perfectly.
However, if I go to another page, or go to another location, Netscape
will often times decide by itself to "destory" all my applets by going
down in its history list and killing every java applets still left in
memory.  While this might sounds like a good idea at first for
documents that weren't accessed in a long time, it seems somewhat
idiotic that Netscape keeps doing this for documents that were just
accessed (oftentimes only a few minutes ago).

	Since my applets take a long time to load (relatively speaking
of course), when I come back to these applets while retrieving the
HTML document they were attached to, it takes a long time to
reinitialize and restart them.  

	Also, on a related note, I also experimented some wierd
behaviour while reloading and running the same applet (but with
different configs) on the same HTML document; an animation from an
instance would "jump" to another instance during the reinitialization
of the applet (when I came back to it from another location or after
Netscape "destroyed" my applets).  What kind of programming error
could cause this behaviour?

	Is it me, or am I asking too much?  

	
	...David

PS:  since English isn't my first language, please pardon me for any
     typos or grammatical errors.
	
-- 
// David Lebel <lebel@socom.com>          http://www.socom.com/~lebel/
// Socom technologies, Inc.        Tel: 514/939-0480 Fax: 514/939-0834
   " There are lies, damned lies, and statistics. " -- Mark Twain
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post