@Override
	public void layoutContainer(Container container) {
		Dimension containerSize = container.getSize();
		Insets insets = container.getInsets();
		int width = containerSize.width - insets.left - insets.right;
		int height = containerSize.height - insets.top - insets.bottom;
		if (width < 0)
			width = 0;
		if (height < 0)
			height = 0;
		try {
			Component[] comps = container.getComponents();
			for (int i = 0; i < comps.length; i++) {
				comps[i].setBounds(insets.left, insets.top, width, height);
			}
		}
		catch (Exception e) {
		}
	}
@see java.awt.LayoutManager#layoutContainer(java.awt.Container)
Ghidra/Framework/Gui/src/main/java/ghidra/util/layout/StretchLayout.java