public void setError(@PopupContent String text, boolean showWarning) {
    myErrorText = text;
    myError.setVisible(showWarning && text != null);
    myErrorIcon.setVisible(showWarning && text != null);
  }
public void setError(@PopupContent String text, boolean showWarning)