javajs.swing.JEditorPane Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmol Show documentation
Show all versions of jmol Show documentation
Jmol: an open-source Java viewer for chemical structures in 3D
package javajs.swing;
import javajs.util.SB;
/**
* A simple implementation of a Swing JTextPane.
* Operates as its own Document; no attributes
*
* @author hansonr
*
*/
public class JEditorPane extends JComponent {
public JEditorPane() {
super("txtJEP");
text = "";
}
@Override
public String toHTML() {
SB sb = new SB();
sb.append("");
return sb.toString();
}
}