Basic HTML version of Foils prepared 13 July 98

Foil 10 DrawableStringsTest.java

From Java Academy II:Advanced Java NPAC/ECS Java Academy -- February to April 98. by Tom Scavo

The DrawableStringsTest Applet
Our test applet is more complicated, however
For complete generality, all data are obtained from the HTML document, namely:
  • an array of strings
  • the font name, style, and size
  • the background color of the applet
  • the foreground (text) color of the applet
A typical <APPLET> tag looks like this...



© 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 Sat Nov 28 1998