BullsEye Program
- Design and code a class to represent a Bullseye. A bullseye consists of 4 concentric circles. It has 2 colors, and they alternate when drawing the circles. The bullseye also has a center point and the width to use when drawing each concentric circle.
A bullseye can be an outline, or have the circles filled in.
- The code you should use for the Applet is posted under
downloads. Get both the .java file and the .html file.
- Remember the requirements are to code and design the class - this means to write all the methods even if this program does not call them.
- For instance, what did we talk about for constructors?
Make sure to write them, and any other contructors or methods that make sense for good design.
- Here is a picture of the whiteboard from the Chi design session:
- Here is a picture of the whiteboard from the Pi design session: