code: public void displayDialogInfo(String msg, boolean warning) {
  
          StringBuffer buffer = new StringBuffer(64);
          if (!warning) {
              buffer.append("<p class=\"");
              buffer.append(I_CmsLayoutBundle.INSTANCE.uploadButton().dialogMessage());
              buffer.append("\">");
              buffer.append(msg);
              buffer.append("</p>");
          } else {
              buffer.append(FontOpenCms.WARNING.getHtml(32, I_CmsConstantsBundle.INSTANCE.css().colorWarning()));
              buffer.append("<p class=\"");
              buffer.append(I_CmsLayoutBundle.INSTANCE.uploadButton().warningMessage());
              buffer.append("\">");
              buffer.append(msg);
              buffer.append("</p>");
          }
          m_dialogInfo.setHTML(buffer.toString());
      }
docs: Sets the dialog info message.<p>
  
  @param msg the message to display
  @param warning signals whether the message should be a warning or nor