@Override
  public V getValue() throws Exception {
    if (myCbx.isEditable()) {
      final Component editorComponent = myCbx.getEditor().getEditorComponent();
      //noinspection unchecked
      return (V)((JTextField)editorComponent).getText();
    }
    else {
      //noinspection unchecked
      return (V)myCbx.getSelectedItem();
    }
  }
@Override
  public V getValue()