@Override
		public void layoutContainer(Container parent) {
			int n = parent.getComponentCount();
			Dimension d = parent.getSize();
			Insets insets = parent.getInsets();
			int height = d.height - insets.top - insets.bottom;

			int x = insets.left;
			int y = insets.top;
			for (int i = 0; i < n; i++) {
				// even components are the actual managed components, odd components are JSeparators
				if (i % 2 == 0) {
					TableColumn column = columnModel.getColumn(i / 2);
					ComponentData componentData = (ComponentData) column.getHeaderValue();
					JComponent c = componentData.component();
					int width = column.getWidth() - separatorWidth;
					c.setBounds(x, y, width, height);
					x += width;
				}
				else {
					Component c = parent.getComponent(i);
					d = c.getPreferredSize();
					c.setBounds(x, y, d.width, height);
					x += d.width;
				}
			}
		}
Resets the named component back to its preferred size.
@param viewName the name of the component to restore to its preferred size
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/InteractivePanelManager.java