public void itemStateChanged(ItemEvent e) {
		if (e.getSource() == comboLaser1 || e.getSource() == comboLaser2){
    		if(("" + comboLaser1.getSelectedItem()).compareTo("Wavelength L1") != 0 && ("" + comboLaser2.getSelectedItem()).compareTo("Wavelength L2") != 0){
				
				System.out.println("" + comboLaser1.getSelectedItem());
				double[] firstValue;
				double[] secondValue;
	
				firstValue = FileManager.readValues(("" + comboLaser1.getSelectedItem()).replaceFirst(" nm", ".ml1"), 1);
				secondValue = FileManager.readValues(("" + comboLaser2.getSelectedItem()).replaceFirst(" nm", ".ml2"), 2);
				
				for(int l = 0; l < 11; l++){
					calibrationLaser1[l] = firstValue[l];
					calibrationLaser2[l] = secondValue[l];
				}
				
				calculation.setCurve(firstValue, secondValue);
				labelTotalPower.setText("Puissance totale actuelle : " + calculation.computePower(sliderLaser1.getValue(), sliderLaser2.getValue()) + " mW");
				
		    	if (calculation.computePower(valueSliderLaser1,valueSliderLaser2) > 250 && calculation.computePower(valueSliderLaser1,valueSliderLaser2) < 300){
		    		labelIcon.setIcon(new ImageIcon(getClass().getResource("/images/danger.png" )));
		    		labelIcon.setVisible(true);
		    	}
		    	
		    	else if (calculation.computePower(valueSliderLaser1,valueSliderLaser2) >= 300){
		    		labelIcon.setIcon(new ImageIcon(getClass().getResource("/images/erreur.png" )));
		    		labelIcon.setVisible(true);
		    	}
		    	
		    	else{
		    		labelIcon.setVisible(false);
		    	}
				
				calibrationMemorised = true;
				sliderLaser1.setVisible(true);
				sliderLaser2.setVisible(true);
				labelSliderLaser1.setVisible(true);
				labelSliderLaser2.setVisible(true);
				labelPointNumber.setVisible(true);
				buttonAdd.setVisible(true);
				buttonRemove.setVisible(true);
				buttonRemoveAll.setVisible(true);
				
				updateConsole();
    		}
    		
				
			else{
				calibrationMemorised = false;
				sliderLaser1.setVisible(false);
				sliderLaser2.setVisible(false);
				labelSliderLaser1.setVisible(false);
				labelSliderLaser2.setVisible(false);
				labelPointNumber.setVisible(false);
				buttonAdd.setVisible(false);
				buttonRemove.setVisible(false);
				buttonRemoveAll.setVisible(false);
				buttonLaunch.setVisible(false);
			}
    	}
		
		updateBackup();
	}