private void setComponentSelection(boolean b) {
		if (selectedComponents.isEmpty())
			return;
		synchronized (selectedComponents) {
			for (JComponent c : selectedComponents) {
				if (c instanceof Embeddable)
					((Embeddable) c).setMarked(b);
				c.repaint();
			}
		}
	}