Title: First Shape Drawing Problem
Course: CPS 261: Advanced Java Concepts ~ DL & MM MASTER

First Shape Drawing Problem

We want to create our first version of a Shape Drawing program.

Watch the "Shape Drawing" video to see the functionality that your program should have. In the notes associated with this video you will see some starter code for this program.

You will be required to add the following:

1. Create the Oval and Line classes.
2. Get rid of the screen flicker ... see the "Animation and Simple Threads" notes/video for the technique that you can use to get rid of flicker in any of your paint drawing apps.
3. On the top of your screen(drawn in your paint routine), add the text from:
drawing.toString()
This text should have a background yellow rectangle. See the program demo'ed at the beginning of the "Shape Drawing" video.
4. If you found this program too easy or you have a lot of time to burn, see if you can add the polygon functionality demo'ed in the video. When you get your grade on this assignment, you will see polygon functionality in the published answer.

Last Updated: June 15, 2014 3:36 PM