code: public boolean setText (String text)
      {
          // the Java text stuff freaks out in a variety of ways if it is asked to deal with the
          // empty string, so we fake blank labels by just using a space
          if (StringUtil.isBlank(text)) {
              text = " ";
          }
  
          // if there is no change then avoid doing anything
          if (text.equals((_rawText == null) ? _text : _rawText)) {
              return false;
          }
  
          // _text should contain the text without any tags
          _text = filterColors(text);
          // _rawText will be null if there are no tags
          _rawText = text.equals(_text) ? null : text;
  
          // if what we were passed contains escaped color tags, unescape them
          _text = unescapeColors(_text, true);
          if (_rawText != null) {
              _rawText = unescapeColors(_rawText, false);
          }
  
          invalidate("setText");
          return true;
      }
docs: Sets the text to be displayed by this label.
  
  <p> This should be followed by a call to {@link #layout} before a call is made to {@link
  #render} as this method invalidates the layout information.
  
  @return true if the text changed as a result of being set, false if the label was already
  displaying the requested text.