Create radio button in java

In java, you can create radio button using JRadioButton class.