javajs.swing.JLabel 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;
public class JLabel extends JComponent {
public JLabel(String text) {
super("lblJL");
this.text = text;
}
@Override
public String toHTML() {
SB sb = new SB();
sb.append("");
sb.append(text);
sb.append("");
return sb.toString();
}
}