[Solved] How to draw 10000 circles in Random locations using JavaFX?
After fixing the runtime error you are getting, your code only draws one circle. That’s because you only add one circle to your scene graph. The for loop basically does nothing. The last X and Y coordinates for the circle’s center are used to draw the single, solitary circle. You need to add ten thousand … Read more