@Override
  public JComponent getPreferredFocusedComponent() {
    for (JRadioButton button : radioButtons) {
      if (button.isSelected()) {
        return button;
      }
    }
    return super.getPreferredFocusedComponent();
  }
@Override
  public JComponent getPreferredFocusedComponent()