public void layoutContainer(Container parent) {
		checkComponent(parent);

		synchronized (parent.getTreeLock()) {
			int wl = 0;

			for (int i = 0; i < labels.length; i++) {
				Dimension d = labels[i].getMinimumSize();
				if (wl < d.width)
					wl = d.width;
			}

			Insets insets = getInsets();

			int xl = insets.left + myInsets.left;
			int xt = xl + wl + hgap;

			Dimension d = getSize();

			int wt = d.width - (insets.right + myInsets.right) - xt;

			int y = insets.top + myInsets.top;

			Dimension db = lblName.getMinimumSize();

			lblName.setBounds(xl, y, db.width, db.height);

			y += db.height + vgap;

			for (int i = 0; i < labels.length; i++) {
				Dimension dl = labels[i].getMinimumSize();
				labels[i].setBounds(xl, y, wl, dl.height);

				Dimension dt = values[i].getMinimumSize();
				values[i].setBounds(xt, y, wt, dt.height);

				int dy = vgap
						+ ((dl.height > dt.height) ? dl.height : dt.height);

				y += dy;
			}
		}
	}