title: How to consume JRadioButton select on mouse click doesn't seem to work
body: <p>I'm creating a very simple class to override Swing JRadioButton which allows a user to set a field determining whether or not the radio button is selectable.</p>
  
  <pre><code>public class SelectableRadio extends JRadioButton implements MouseListener
  private boolean selectable = true;
  public SelectableRadio()
  {
      super();
      addMouseListener(this);
  }
  
  public void setSelectable(boolean select)
  {
      selectable = select;
  }
  
  @Override
  public void mousePressed(MouseEvent e)
  {
      if (!selectable)
      {
          e.consume();
      }
  }
  </code></pre>
  
  <p>All of the other methods are implemented.  This does not work.  When a SelectableRadio button is set as NOT selectable, the radio button is still selected when clicked.</p>
  
  <p>Any help?</p>