code: @Override
      public void setFocus() {
          Radiobutton radio = editor.getSelected();
  
          if (radio == null) {
              radio = (Radiobutton) editor.getChildren().get(0);
          }
  
          radio.setFocus(true);
      }
docs: Sets focus to the selected radio button.