boolean fitToScreen = false;
String scrollbarParam = this.getParameter("scrollbars");
if (scrollbarParam != null && scrollbarParam.equals("false")) {
fitToScreen = true;
}
JChemPaintViewerPanel p
= new JChemPaintViewerPanel(
new ChemModel(), getWidth(), getHeight(), fitToScreen, debug, this);
setTheJcpp(p);
this.add(p);
super.init();
}