public JComponent getFocusableComponent() {
    if (myComponent instanceof JComboBox<?> comboBox) {
      return (JComponent)comboBox.getEditor().getEditorComponent();
    } else {
      return myComponent;
    }
  }
public JComponent getFocusableComponent()