public void add(Component comp, String region, Object constraints) {
		if (region.equals(NORTH)) {
			northPanel.add(comp, constraints);
		} else if (region.equals(SOUTH)) {
			southPanel.add(comp, constraints);
		} else if (region.equals(WEST)) {
			westPanel.add(comp, constraints);
		} else if (region.equals(EAST)) {
			eastPanel.add(comp, constraints);
		} else if (region.equals(CENTER)) {
			centerPanel.add(comp, constraints);
		} else {
			throw new ErrorException("add: Illegal region " + region);
		}
	}