@Override
    public Icon getIcon(boolean hovered) {
      Icon icon = (Icon)getComponent().getClientProperty(SEARCH_ICON);
      if (icon != null) {
        return icon;
      }
      return getSearchIcon(hovered, isSearchFieldWithHistoryPopup(TextFieldWithPopupHandlerUI.this.getComponent()));
    }
@Override
    public Icon getIcon(boolean hovered)