public ModifyRenderOptionsDialog(AbstractJChemPaintPanel jcpPanel, JChemPaintRendererModel model, int tabtoshow) {
super();
this.model = model;
this.jcpPanel = jcpPanel;
this.tabtoshow = tabtoshow;
editor = new PropertiesModelEditor(this, jcpPanel, tabtoshow, jcpPanel.getGuistring());
createDialog();
pack();
setVisible(true);
}