logo CodeStepByStep logo

SmileyFace3

Modify your solution to the previous problem to make a new program called SmileyFace3 that uses the DrawingPanel to draw the graphical output shown below. The expected graphical output is shown below. The window size should be changed to 520 x 180 pixels, and the faces' top-left corners are at (10, 30), (110, 30), (210, 30), (310, 30), and (410, 30). Draw the figures using a loop to avoid redundancy.

Java DrawingPanel close maximize minimize
expected output
 
Class: Write a complete C# class.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.