Question: Part 1: Create a Java application that draws a simple house or beach hut. Use the drawing methods from the Graphics class. Your hut should
Part 1:
- Create a Java application that draws a simple house or beach hut. Use the drawing methods from the Graphics class.
- Your hut should be on the beach, with the ocean nearby.
- Your hut should have at least one door and one window, and a roof.
Here is an example screenshot. Please note that your image needs to have a few additional features not shown in mine, such as clouds. Please see the rubric below for more details.
Part 2:
- Change just one line of code, and run your program again. Your beach hut should now be floating 50 pixels above the beach. (In order to accomplish this with one line of code, your program will have to use variables, not literals, to specify the position of the hut.)
Here is an example screenshot.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
