how to make a jradiobutton that is already selected
/*The syntax for this is public JRadioButton(Icon icon, boolean selected)
Notice the second parameter. If true, button will be selected on creation.
If false or not specified, radio button will be created unselected
*/
JRadioButton button = new JRadioButton("button", true);