public void addLayoutComponent(Component comp, Object constraints) {
		if (constraints == null) {
			constraints = new TableConstraints("");
			((TableConstraints) constraints).fill = defaultFill;
		} else if (constraints instanceof String) {
			OptionTable options = new OptionTable(((String) constraints).toLowerCase(), TableConstraints.LEGAL_KEYS);
			constraints = new TableConstraints(options);
			if (!options.isSpecified("fill")) {
				((TableConstraints) constraints).fill = (options.isSpecified("anchor")) ? NONE : defaultFill;
			}
		} else if (!(constraints instanceof GridBagConstraints)) {
			throw new ErrorException("TableLayout: Illegal constraints");
		}
		constraintTable.put(comp, constraints);
		if (targetContainer != null) targetContainer.invalidate();
	}