public void draw (JEditorPane editor)
	{
	    StringBuffer	buf = new StringBuffer ();
	    String		name = toString ();

	    editor.setContentType ("text/html");

	    buf.append ("<html>\n<head><title>");
	    buf.append (name);
	    buf.append (
		"</title></head>\n<body><font size=+1><b>");
	    buf.append (folder.isExternal () ? "SmartMedia" : "Built-in Memory");
	    buf.append ("</b></font><br>\n");

	    buf.append ("<table>\n");
	    buf.append ("<tr><th>Number</th>");
	    buf.append ("<th>Size (kB)</th>");
	    buf.append ("<th>Name</th>");
	    buf.append ("</tr>\n");
	    for (int j = 0; j < songs.length; j++) {
		buf.append ("<tr><td>");
		buf.append (j + 1);
		buf.append ("</td>");
		buf.append ("<td>");
		buf.append (songs [j].getLength () / 1024);
		buf.append ("</td>");
		buf.append (songs [j].getName1 ());
		buf.append ("</td>");
		buf.append ("</tr>\n");
	    }
	    buf.append ("</table>\n");

	    buf.append ("</body></html>");
	    editor.setText (buf.toString ());
	}