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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started