public void layoutContainer(Container parent) {
		synchronized (parent.getTreeLock()) {
			Dimension psize = parent.getSize();
			Insets insets = parent.getInsets();
			int x = insets.left;
			int y = insets.top;
			int width = psize.width - insets.left - insets.right;
			int height = psize.height - insets.top - insets.bottom;
			for (int i = 0; i < parent.getComponentCount(); i++) {
				parent.getComponent(i).setBounds(x, y, width, height);
			}
		}
	}