public void keyReleased(KeyEvent e) {
		if (e.getKeyCode() == 10) {
			if (textWavelength.isFocusOwner()) {
				wavelength = (int) Double.parseDouble(textWavelength
						.getText().replaceAll(",", ""));
				loadExistingValues();
				updateConsole();
			}

			else if (textPower.isFocusOwner()) {
				power[i] = Double.parseDouble(textPower.getText()
						.replaceAll(",", ""));
				updateConsole();
				if (i == 10)
					i = 0;
				else
					i++;
				labelPowerMesured.setText("Power mesured for point " + (i + 1) + " / 11 :");
				textPower.setText("" + power[i]);
				actionManager.calibrationUp();
			}
		}
	}