Basic HTML version of Foils prepared July 6 99

Foil 13 Java Applets

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


Java applets are classes written in Java which are intended not to run as stand-alone programs (as applications do) but as subprograms of a browser which is already managing a window.
Applets should NOT have main method but rather methods called init, start, paint etc. for displaying on the browser window
Applets are not trusted as a default, so they have several restricitions on running on the client machine
  • no printing or file I/O
  • cannot connect through the network to any machine but its own server
  • any new windows created by the applet have a warning label



© 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