Question: - JAVA Graphics Create the necessary JAVA files/functions to solve the problem below. Feel free to explore the JAVA syntax online, we suggest you use

 - JAVA Graphics Create the necessary JAVA files/functions to solve the
problem below. Feel free to explore the JAVA syntax online, we suggest

- JAVA Graphics Create the necessary JAVA files/functions to solve the problem below. Feel free to explore the JAVA syntax online, we suggest you use java official documentation. Homework Instructions We will implement a Java program that splits the screen into 4quadrants and draws a random shape in each quadrant. The shapes will be randomly chosen from the bulleted list below. Your code will generate random colors and sizes for each shape. You can have the same shape generate more than once (For example, you might have 3 squares show up). Bonus: +10 points awarded if the shape is created at a random location within that quadrant. The shapes must not go off the screen or overlap with another quadrant! Here are the shapes that you should randomly choose from; - Square (each side is n pixel) - Circle (radius is n pixel) - Rectangle (width =2n pixel, height=n pixel) - Equilateral Triangle (each side is n pixel) For each run; - your code should split the window into four pieces and draw 4 random shapes from the list above [50 points] - For each shape; generate a random integer value for n value (for each n25

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!