JRadioButton is the Java Swing implementation of a radio button.
JRadioButton is a Java implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user. Used with a ButtonGroup
object to create a group of buttons in which only one button at a time can be selected.
Relevant tutorials: