toggleGroupProperty
The toggleGroup ensures that more than one item in the same ToggleGroup are selected at the same time. For a ToggleMenuItem the user can choose to select no items (by clicking the selected ToggleMenuItem). But, for a RadioMenuItem this is not possible. Clicking the selected RadioMenuItem does nothing. It stays selected.