Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Modify the FaceComponent class to create your own version of the alien face. You

ID: 3916843 • Letter: M

Question

Modify the FaceComponent class to create your own version of the alien face. Your modified code should make use of the following classes: Rectangle, Ellipse2D.Double, Line2D.Double. In addition, you should also use the following methods from the Graphics2D class: draw, fill, setColor.

When you modify the existing FaceComponent class, please add at least two new objects, i.e., rectangle, ellipse, line, or text.

This is a meant to be a fun assignment to help you get to know classes, objects, Graphics2d. We will be making use of Graphics2D in the future, so get some experience with it!

Please submit your FaceComponent class only. I already have the FaceViewer.

Explanation / Answer

  gh.fillOval(90,120,50,20);

gh.drawLine(165,125,165,175);

gh.drawCircle(90,200, 90,200)

  

  

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote