Student Name: __________________
Class and Section __________________
Total Points (20 pts) __________________
Due: Wednesday Oct 6, 2010 before the class
Final Project: Displaying Regular Polygons
CSCI 1302 Advanced Programming Principles
Armstrong Atlantic State University
Problem Description:
Create a subclass of JPane, named RegularPolygonPane,
to paint an n–sided regular polygon. The class
contains a property named numberOfSides, which
specifies the number of sides in the polygon. The
Your Task:
1. Define a class named RegularPolygonPane to paint an n-sided regular
polygon. (So, if n is 3, it paints a triangle, if n is 4, it paints a square, etc.)
Your Code:
Name your program Exercise14_08Extra and copy the code here.