Basic HTML version of Foils prepared 6 Feb 99

Foil 49 TriangleTest Applet (cont'd)

From Java Academy I:Elementary Java NPAC/ECS Java Academy -- February to April 1998 and 1999. by Nancy McCracken (foils by Tom Scavo)

The TriangleTest Applet
The test applet draws one triangle and fills the other: public void paint( Graphics g ) { g.drawPolygon( p1 ); g.fillPolygon( p2 ); }
In the exercises, you are asked to draw an equilateral triangle...



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