public void itemStateChanged(ItemEvent evt) {
		if (evt.getSource() == chb_alarmon) {
			clkinput.alarmOn = evt.getStateChange() == ItemEvent.SELECTED;
			clkinput.getSemaphoreInstance().give();
			clkcanvas.repaint();
		}
		
	}