if(languagechanged && !close){
//we need to rediplay the dialog to change its language
this.getParent().getParent().getParent().getParent().setVisible(false);
JChemPaintRendererModel renderModel =
jcpPanel.get2DHub().getRenderer().getRenderer2DModel();
ModifyRenderOptionsDialog frame =
new ModifyRenderOptionsDialog(jcpPanel,renderModel, 1);
frame.setVisible(true);
}
}