Question: In this assignment, you will need to create an application in Java that draws random faces on a window. The application will draw 3 to
In this assignment, you will need to create an application in Java that draws random faces on a window. The application will draw 3 to 10 faces each time it is run. The faces will have a random width and height that are set to reasonable and visually appealing ranges. The application window size should be initially set to a reasonable size and all faces should draw entirely within the window. You do not have to worry about how to handle the resizing of the application window. Assume that it will remain the same size. Each face should have two eyes and a mouth. The mouth should be randomly smiling, frowning, or in-between.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
