Basic HTML version of Foils prepared 13 July 98

Foil 33 ParallelogramTest Applet

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

The ParallelogramTest Applet
Our ParallelogramTest applet is simple: parallelogram1 = new Parallelogram( x, y, side1, side2, alpha ); parallelogram2 = parallelogram1.rotate( theta ); ... public void paint( Graphics g ) { parallelogram1.fill( g ); parallelogram2.fill( g ); }



© 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