randomly displaying circles within gridPane cells in javaFX
问题 I am creating am application that displays circles (of different colors) randomly within each cell of a gridPane. What i want to do is create a "shuffle" button that changes the position of each circle randomly within the gridPane. However, I keep running into a slurry of problems. Here is what i have so far. My two classes (have not added XML file): Controller Class public class viewController { //My two Variables, a gridPane and a button @FXML private GridPane matrix; @FXML private Button