Basic HTML version of Foils prepared September 1 99

Foil 10 Java Applets

From Introduction to Java Language and Applets CPS406/606 Fall Semester 1999 -- September 2 99. by Nancy J. 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 a main method but rather init, start, paint etc. for displaying on the browser window
Applets are not trusted as a default, so they have several restrictions 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 Wed Sep 1 1999