Back to course

CheckBox and RadioButton

JavaFX 0 to Hero

CheckBox and RadioButton

  • CheckBox: Multiple options can be selected.
  • RadioButton: Only one option in a group.

Use a ToggleGroup for RadioButtons to ensure mutual exclusivity.