Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Instructions/Design Make a JavaFX application - CircleOverlap.java - that presents 20 circles (use the JavaFX Circle class), each with a random...

Instructions/Design

Make a JavaFX application - CircleOverlap.java - that presents 20 circles (use the JavaFX Circle class), each with a random radius and location. If a circle does not overlap any other circle, fill the circle with a Color of your choice (I used black but you don't have to). Fill overlapping circles with a translucent blue (alpha value of 0.3).

In addition, ensure the entire circle appears in the visible area of the Scene (no circle should go off the edge).

Note 1: start() and main() are the only methods required.

Note 2: Use an array to store the Circle objects, and check each new circle to see if it overlaps any previously created circle. DO NOT use an ArrayList

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question