public void modelUpdate(final ModelEvent e) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				switch (e.getID()) {
				case ModelEvent.SCRIPT_START:
					if (disabledAtScript)
						enableRadioButton(false, e.getSource());
					break;
				case ModelEvent.SCRIPT_END:
					if (disabledAtScript)
						enableRadioButton(true, e.getSource());
					break;
				case ModelEvent.MODEL_RUN:
					if (disabledAtRun)
						enableRadioButton(false, e.getSource());
					break;
				case ModelEvent.MODEL_STOP:
					if (disabledAtRun)
						enableRadioButton(true, e.getSource());
					break;
				}
			}
		});
	}