logo CodeStepByStep logo

SmileyFace2

Modify your solution to the previous problem to make a new program called SmileyFace2 that uses the DrawingPanel to draw a multiple faces. The expected graphical output is shown below. Write a parameterized static method named DrawFace that draws a face at different positions. The window size should be changed to 320 x 180 pixels, and the two faces' top-left corners are at (10, 30) and (150, 50).

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.