code: public String dialogContent(int segment, String title) {
  
          if (segment == HTML_START) {
              StringBuffer result = new StringBuffer(512);
              // null title is ok, we always want the title headline
              result.append(dialogHead(title));
              result.append("<div class=\"dialogcontent\" unselectable=\"on\">\n");
              result.append("<!-- dialogcontent start -->\n");
              return result.toString();
          } else {
              return "<!-- dialogcontent end -->\n</div>\n";
          }
      }
docs: Builds the content area of the dialog window.<p>
  
  @param segment the HTML segment (START / END)
  @param title the title String for the dialog window
  
  @return a content area start / end segment