Adding RadioMenuItem to ToggleGroup in FXML
If you are using SceneBuilder then set the field ToggleGroup in properties to the name of the group.
You have to write
toggleGroup="$toggleGroup1"
If you are using SceneBuilder then set the field ToggleGroup in properties to the name of the group.
You have to write
toggleGroup="$toggleGroup1"