public RoomJob save() {
		RoomJob job = new RoomJob();

		job.setActive(cbActive.isSelected());
		job.setCondition1(c1.getSelectedItem().toString());
		job.setCondition2(c2.getSelectedItem().toString());
		job.setCondition3(c3.getSelectedItem().toString());
		job.setHourFrom((Integer) hourFrom.getSelectedItem());
		job.setMinuteFrom((Integer) minFrom.getSelectedItem());
		job.setHourTo((Integer) hourTo.getSelectedItem());
		job.setMinuteTo((Integer) minTo.getSelectedItem());
		job.setPriority((Integer) cbPrio.getSelectedItem());
		job.setAction(cbAction.getSelectedIndex());
		job.setTTL((Integer) ttlBox.getSelectedItem());
		
		return job;
	}