How do I load a serialized applet?

John Zukowski

Instead of specifying the CODE attribute of an <APPLET> tag, you use the OBJECT attribute, as in:

<APPLET
  OBJECT=TheApplet.ser
  WIDTH=300
  HEIGHT=300
>
</APPLET>

This allows you to preinitialize your applet to some saved state, instead of having to reinitialize your applet each time it is loaded.

Support for this in browsers is severly limited. Don't rely on it.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact