mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

kenneth_suter
17.03.2007 ca07d757efc25246e050c37e0d0b479072c51f56
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/HtmlProgressMessageFormatter.java
@@ -42,6 +42,7 @@
public class HtmlProgressMessageFormatter implements ProgressMessageFormatter
{
  private String doneHtml;
  private String errorHtml;
  /**
   * The line break in HTML.
@@ -210,6 +211,20 @@
  }
  /**
   * Returns the HTML representation of the 'Error' text string.
   * @return the HTML representation of the 'Error' text string.
   */
  public String getFormattedError() {
    if (errorHtml == null)
    {
      String html = getHtml(getMsg("progress-error"));
      errorHtml = UIFactory.applyFontToHtml(html,
          UIFactory.PROGRESS_ERROR_FONT);
    }
    return errorHtml;
  }
  /**
   * Returns the HTML representation of the argument text to which we add
   * points.  For instance if we pass as argument 'Configuring Server' the
   * return value will be 'Configuring Server <B>.....</B>'.