public int getBottomX(Container parent) {
		if (bottomComponents.size() == 1) {
			return hgap;
		}
		int x = 0;
		Component[] components = parent.getComponents();
		for (int index = 0; index < components.length; index++) {
			Component component = components[index];
			if (bottomComponents.contains(component)) {
				if (x < component.getX() + component.getWidth()) {
					x = component.getX() + component.getWidth();
				}
			}
		}
		return x + hgap;
	}