code: public HTML createApplet (String ident, String archive, String clazz,
                                String width, String height, boolean mayScript, String ptags)
      {
          String html = "<object classid=\"java:" + clazz + ".class\" " +
              "type=\"application/x-java-applet\" archive=\"" + archive + "\" " +
              "width=\"" + width + "\" height=\"" + height + "\">";
          if (mayScript) {
              html += "<param name=\"mayscript\" value=\"true\"/>";
          }
          html += ptags;
          html += "</object>";
          return new HTML(html);
      }
docs: Creates the HTML needed to display a Java applet.