code: public void setScaleIcon(int scaleIcon) {
          if (scaleIcon < SCALE_ICON_ALWAYS || scaleIcon > SCALE_ICON_IS_TOO_SMALL)
              scaleIcon = SCALE_ICON_ALWAYS;
          this.scaleIcon = scaleIcon;
      }
docs: Sets the way the icon will be scaled. Possible values are
  <CODE>SCALE_ICON_ALWAYS</CODE>, <CODE>SCALE_ICON_NEVER</CODE>,
  <CODE>SCALE_ICON_IS_TOO_BIG</CODE> and <CODE>SCALE_ICON_IS_TOO_SMALL</CODE>.
  The default is <CODE>SCALE_ICON_ALWAYS</CODE>.
  @param scaleIcon the way the icon will be scaled