Question: Create three circles using a JavaFX program. The first is of brown in color. The second circle is of green in color and the third

Create three circles using a JavaFX program. The first is of brown in color. The second circle is of green in color and the third circle is of blue in color. Create an appropriate mouse click event so that, when the user clicks on the first circle its color is changed to white and a message "Hello World" is displayed on the console. Similarly, by clicking on the second circle, its color changes to red and a message "Created using JavaFX is displayed on the console. While clicking on the third circle its color changes to Magenta and no message is displayed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
