Anyone Add Random Color Thing Code Javafx Got Code Make Delete Circle Code Random Color Se Q37292311

Can anyone add the random color thing into the code?(Javafx)

( I got code that can make or delete the circle but I donot have the code for the random color selection)

=============================================================================

Geometry: add and remove points

Write a program that lets the user click on a pane todynamically create and remove points. When the user left-clicks themouse (primary button), a point is created and displayed at themouse point. The user can remove a point by pointing to it andright- clicking the mouse (secondary button). Make the colors ofcircles randomly.

  • To get all circles in the pane:

ObservableList<Node> list =pane.getChildren();

Write a for-loop to check each

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.