Multimedia WWW Series:
Introduction to Java

By the end of this session you will know:
Appet Tag Syntax:
Applet <APPLET></APPLET>
File Name <APPLET CODE="***">
Parameters <APPLET PARAM NAME="***">
Location <APPLET CODEBASE="URL">
Identifier <APPLET NAME="***"> (for references)
Alt Text <APPLET ALT="***"> (for non-Java browsers)
Alignment <APPLET ALIGN="LEFT|RIGHT|CENTER">
Size <APPLET WIDTH=? HEIGHT=?> (in pixels)
Spacing <APPLET HSPACE=? VSPACE=?> (in pixels)
Some sample applet tags:
<applet code="Clock2w.class" width=170 height=150>
</applet>
<applet code="NervousTextAD.class" width=450 height=50 bgcolor="#FFFFFF">
<param name=text value="Introduction to Java">
</applet>
Hints and tips:
- Use the source for this page as a model for including applets.
- A .class object, i.e. the executable part of the applet, must be up/downloaded in BINARY mode.
- You cannot change the name of an applet. The name is part of the compiled code. If it is changed the applet cannot run.
- If an applet has a name longer than 8 characters long it must be recompiled with a shorted name before it is uploaded to the mainframe.
andy@uconnvm.uconn.edu