public void setSelectedComponent(ModelComponent mc) {
		if (selectedComponent != null) {
			if (getModel().getExclusiveSelection()) {
				if (selectedComponent != mc)
					selectedComponent.setSelected(false);
			}
		}
		selectedComponent = mc;
		repaint();
	}