public void load(RoomObject obj) {
		this.obj = obj;
		
		setTitle("Edit Object");
		
		//cbType.setEnabled(false);
		
		txtLabel.setText(obj.getLabel());
		System.out.println(obj.toString());
		cbType.setSelectedIndex(RoomObjects.getInt(obj));
		cbIcon.setSelectedItem(obj.getStringIcon());
		cbColor.setSelectedItem(obj.getStringColor());
		spNode.setValue(obj.getHcinode());
		cbHci.setSelectedIndex(obj.getHci());
		txtManualOn.setText(obj.getManualOn() + "");
		txtManualOff.setText(obj.getManualOff() + "");
	}