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 ); }