That really isn't an SSCCE. Here is an SSCCE that shows that setSelected() does indeed work:
import javax.swing.JFrame;
import javax.swing.JRadioButton;
import java.awt.FlowLayout;
public...
Type: Posts; User: KevinWorkman
That really isn't an SSCCE. Here is an SSCCE that shows that setSelected() does indeed work:
import javax.swing.JFrame;
import javax.swing.JRadioButton;
import java.awt.FlowLayout;
public...
Can you show us an SSCCE that demonstrates the problem? Because setSelected(true) should definitely select the JRadioButton.