void processKeyPressed(KeyEvent e) {
		getModel().runKeyScript(KeyEvent.KEY_PRESSED, e.getKeyCode());
		switch (e.getKeyCode()) {
		case KeyEvent.VK_Z:
			if (energizerOn)
				getModel().changeTemperature(0.1);
			break;
		case KeyEvent.VK_X:
			if (energizerOn)
				getModel().changeTemperature(-0.1);
			break;
		case KeyEvent.VK_A:
			changeUserField(true);
			break;
		case KeyEvent.VK_D:
			changeUserField(false);
			break;
		case KeyEvent.VK_R:
			if (getModel().isRunning()) {
				getModel().stop();
			} else {
				getModel().run();
			}
			break;
		case KeyEvent.VK_T:
			getModel().reset();
			break;
		case KeyEvent.VK_ESCAPE:
			Object o = getClientProperty("close_full_screen");
			if (o instanceof Runnable) {
				((Runnable) o).run();
			}
			break;
		}
	}