@Override
  protected void selectElement(Object element, String selectedText) {
    myComponent.setSelectedItem(element);
    myComponent.repaint();
  }
@Override
  protected void selectElement(Object element, String selectedText)