SquareTest Applet
Our test applet draws an 8x8 checkerboard: y = 0; for ( int i = 0; i < 8; i++ ) { x = 0; y += length; for ( int j = 0; j < 8; j++ ) { x += length; square = new Square( x, y, length ); // draw or fill square here… } }
Previous slide
Next slide
Back to first slide
View graphic version