Question: Goal: Graphic drawing functions; to learn the Java coordinate system. Program: The main activities of this program are to draw shapes using different kinds of

Goal: Graphic drawing functions; to learn the Java coordinate system.

Program: The main activities of this program are to draw shapes using different kinds of Java drawing methods. Particularly, you are asked to draw a frosty snowman. Use your imagination, but be sure that Frosty has the following snowman-like properties.

Requirements:

A tripartite body (3 ovals, possibly circles)

Rectangular buttons of some non-white color on the middle oval.

Branches for arms sticking out of the middle oval.

The top oval, the head, has the following properties:

Two eyes, some sort of oval

A carrot nose, drawn as a polygon

A red licorice mouth (drawn as an arc)

A hat on the head, drawn as a polygon

Draw a scarf with writing on it

Technical requirements are: Use two classes pattern to do the job: name the application class TestSnowMan and name the work class SnowMan. Your implementation for this assignment must use JFrame.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!