This applet allows a user to manipulate a square into any four sided polygon by dragging and dropping the vertex points to change the polygon shape. A new polygon configuration is accepted only if the edges do not intersect.

When the vertex is repositioned, the area of the polygon is computed and displayed. The polygon will be filled when the cursor is inside the polygon.



This applet was written in Java 1.0 by Amy Lau and Joe Neubauer, ENCE 489C : Engineering Software Development, Fall Semester, 1997. We have since revised the code so that it uses the Java 1.1 delegation event-handling model.

Developed in Decembe, 1998, by Mark Austin
Last Modified December 10, 1998
Copyright © 1998, Mark Austin and David Chancogne