Methods & Parameters Assignment

See this link for Assignment Policies, Submission Instructions, and Grading Guidelines.

Instructions

1.      Write a Java applet that draws seven (7) versions of the same character (creature, thing, figure, robot, cartoon, etc.) of your own creation. Use the following guidelines:

2.      Each individual character should be made up of at least 5 different distinguishable shapes.

3.      The character should be something recognizable, such as a face, car, animal, etc.

4.      The character should not be an abstract drawing.

5.      Also, you should use at least one oval, one rectangle, and one line.

6.      IMPORTANT NOTE: Define (write) one (1) static method to draw the same character seven (7) times in seven (7) different places by calling the method seven (7) times in the applet’s paint() method.

7.      You need to have one parameter for your method that is class Graphics. The other parameters should be the x & y coordinates, which are class Integer. You can use as many x & y coordinates as you need, but you really only need one x & one y for the displacement.

8.      Be creative!!!                                                                                                

9.      Optional: vary the size & color of your character as well by adding Integer & Color parameters.

 

© 2007 William Albritton