This document contains the code for a Java applet that draws several shapes including polygons, ovals, and periods. The applet code defines arrays to store the x and y coordinate points for each shape and uses a for loop to draw the shapes by calling the fillPolygon and fillOval methods. Multiple polygons labeled A, L, D, I, and a period are drawn on the applet canvas when it is painted.
This document contains the code for a Java applet that draws several shapes including polygons, ovals, and periods. The applet code defines arrays to store the x and y coordinate points for each shape and uses a for loop to draw the shapes by calling the fillPolygon and fillOval methods. Multiple polygons labeled A, L, D, I, and a period are drawn on the applet canvas when it is painted.
This document contains the code for a Java applet that draws several shapes including polygons, ovals, and periods. The applet code defines arrays to store the x and y coordinate points for each shape and uses a for loop to draw the shapes by calling the fillPolygon and fillOval methods. Multiple polygons labeled A, L, D, I, and a period are drawn on the applet canvas when it is painted.