title: JRadioButton selection color
body: <p>When any Radio Button in my Java UI program is selected, the selection is shown by a <em>black</em> dot. I want to make it Green. I'm using Java Swing. I followed the answer given to this <a href="https://stackoverflow.com/questions/4607107/change-jcheckbox-jradiobutton-selection-color">SO Question</a> , but it's not working for me. It still shows a black dot when selected.</p>
  <pre><code>public class OptionFrame extends JFrame {
   
       public OptionFrame(){
              UIManager.put(&quot;RadioButton.focus&quot;, new ColorUIResource(Color.GREEN));
              SwingUtilities.updateComponentTreeUI(this);
       }
  }
  </code></pre>
  <p>I'm unable to understand why above code is not working. Any suggestions are highly appreciated.</p>
  <p>Thanks.</p>