code: @Override
      public void setSelected(ButtonModel m, boolean selected) {
          if (!selected && m == getSelection()) {
              clearSelection();
          } else {
              super.setSelected(m, selected);
          }
      }
docs: {@inheritDoc}
  <p>
  Overridden to deselect the button when {@code selected} is {@code false}.
  </p>