Basic HTML version of Foils prepared 13 July 98

Foil 11 AppletDemo.java

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

The AppletDemo Applet
A previous example used drawString(...) to draw three strings in the applet window: g.drawString( startMsg, 25, 25 ); g.drawString( paintMsg, 25, 50 ); g.drawString( stopMsg, 25, 75 );
Each string is drawn at the same horizontal position, but the vertical position is arbitrary
We want to do better than that...



© 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