javajs.swing.JScrollPane 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.awt.Component;
import javajs.awt.Dimension;
import javajs.util.SB;
public class JScrollPane extends JComponent {
public JScrollPane(JComponent component) {
super("JScP");
add(component);
}
@Override
public String toHTML() {
SB sb = new SB();
sb.append("\n\n");
if (list != null) {
Component c = list.get(0);
sb.append(c.toHTML());
}
sb.append("\n\n");
return sb.toString();
}
@Override
public void setMinimumSize(Dimension dimension) {
// TODO Auto-generated method stub
}
}