@Override
    protected void handleInsert(String newText) {
      if (findElement(newText) == null) {
        mySearchField.setForeground(ERROR_FOREGROUND_COLOR);
        if(!myCanExpand) {
          showHint();
        }
      }
      else {
        mySearchField.setForeground(FOREGROUND_COLOR);
      }
    }
@Override
    protected void handleInsert(String newText)