Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.12 seconds.

  1. Re: How to set the state of a radio button based on a configuration file.

    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...
  2. Re: How to set the state of a radio button based on a configuration file.

    Can you show us an SSCCE that demonstrates the problem? Because setSelected(true) should definitely select the JRadioButton.
Results 1 to 2 of 2