public void actionPerformed(ActionEvent e) {
				if (modelProp == null) {
					if (getModel() instanceof MesoModel) {
						modelProp = new MesoModelProperties(JOptionPane.getFrameForComponent(MDView.this));
					} else {
						modelProp = new MolecularModelProperties(JOptionPane.getFrameForComponent(MDView.this));
					}
				}
				modelProp.setModel(getModel());
				if (e == null)
					modelProp.selectInitializationScriptTab();
				modelProp.setLocationRelativeTo(MDView.this);
				modelProp.setVisible(true);
			}