Basic HTML version of Foils prepared July 6 99

Foil 14 Preparing an Applet

From Use of Java Language in Computational Science DoD Modernization Users Group Conference Monterey -- June 7 99. by Nancy McCracken, Geoffrey C. Fox


1 The applet should be run through javac compiler getting a .class file as before: javac MyApplet.java
2 The resulting file MyApplet.class is then stored in the document collection of a web server (hence has a URL location).
3 Also create an HTML file (say MyApplet.html) with an applet tag to MyApplet.class.
4 When the browser loads the .html file, it will also download the .class file and invoke the java interpreter to run the init, start, and paint methods.

in Table To:


© 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 Jul 6 1999