Basic HTML version of Foils prepared 13 July 98

Foil 22 RectangleTest Applet

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

The RectangleTest Applet
1 Our test applet draws a series of rotated rectangles: double theta = 0; for ( int i = 0; i < N; i++ ) { theta += angle; rectangle = new Rectangle( x, y, w, h, theta ); rectangle.draw( g ); }

in Table To:


© 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