SerializableImageAnimationApplet
works on the same way as
ImageAnimationApplet
and is configured using the same parameters. In addition to
it, it is fully serializable. That means that all necessary
data including compressed image data for every animation
frame can be supplied in single file - serialized applet.
But according to my experience to run serialized applet it is
currently necessary to have Java Runtime Evironment v. 1.2
(JRE1.2) or better by Sun Microsystems installed on your
computer. If you have, you may see serialized applet running
accessing
this page.
This situation may change or has changed already. To try if
the Java VM supplied with your browser or OS can run
serializable applets access
this page.
To produce the serialized applet file you need Sun Microsystems
Appletviewer. Start the applet in appletviewer with desired
parameters and files for every frame of animation accessible.
After the applet starts choose "Stop" from "Applet" menu and
then "Save". Choose the name for the file and extension ser.
To start the animation on a HTML page replace atribute "CODE"
with the attribute "OBJECT" with value equal to the filename
of the serialized applet. Skip all applets parameters. Image
files are no longer necessary. Place the serialized applet file
in your code base directory. You can download JRE and
Appletviewer from
Sun's WEB site
for
free.
Download the applet!
To Index