code: public void setToolTipText(String text) {
          this.toolTipText = text;
          if (toolTipDialog != null) {
              toolTipDialog.setText(text);
          }
      }
docs: Sets the text for the tooltip to be used on this decoration.
  
  @param text Tooltip text for this decoration, or null if this decoration should have no tooltip.