HELP! * GREY=local LOCAL HTML version of Foils prepared January 8,96

Foil 42 Applet Programming

From Overview of Java SC95 Tutorial on Web Technologies -- December 4,95. by NPAC Team * See also color IMAGE

Applets are instances of a Java class called Applet and its subclasses. They can be embedded in HTML pages using the following tag:
  • <app class="MyApplet" [other optional attributes]>
where MyApplet is the name of a user-developed applet class, compiled by javac into MyApplet.class and placed in the subdirectory classes vs the virtual path of the HTML page.
If the HTML page has the URL address:
  • PageURL = http://server/path/file.html
then the file MyApplet.class pointed by the applet tag has the URL:
  • AppURL = http://server/path/classes/MyApplet.class



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Feb 18 1997