@Override
  public void setRenderer(ChoiceRenderer renderer) {
    if (renderer != getRenderer()) {
      if (renderer == null) {
        popup.setStringContent(format, choicesComparator,
                               getStringComparator());
        editor.setTextMode(true);
      }
      else {
        popup.setRenderedContent(renderer,
                                 choicesComparator == null ? comparator : choicesComparator,
                                 getStringComparator());
        editor.setRenderMode();
      }
      requestChoices();
    }
  }
@Override
  public void setRenderer(ChoiceRenderer renderer)