1 Clazz.declarePackage ("javajs.swing");
\r
2 Clazz.load (["javajs.swing.JComponent"], "javajs.swing.JEditorPane", ["javajs.util.SB"], function () {
\r
3 c$ = Clazz.declareType (javajs.swing, "JEditorPane", javajs.swing.JComponent);
\r
4 Clazz.makeConstructor (c$,
\r
6 Clazz.superConstructor (this, javajs.swing.JEditorPane, ["txtJEP"]);
\r
9 Clazz.overrideMethod (c$, "toHTML",
\r
11 var sb = new javajs.util.SB ();
\r
12 sb.append ("<textarea type=text id='" + this.id + "' class='JEditorPane' style='" + this.getCSSstyle (98, 98) + "'>" + this.text + "</textarea>");
\r
13 return sb.toString ();
\r