@Override
			public void componentResized(ComponentEvent e) {
				invalidate();
				getRootComponent(VariableHeightPanel.this).validate();
			}
Construct a new VariableHeigthPanel.
@param pack true means to fit as many components on a row, not worrying about lining up 
       columns; false means to fit as many components on a row, and line up the columns 
       as if in a grid
@param hgap horizontal gap between components
@param vgap vertical gap between components
Ghidra/Framework/Docking/src/main/java/docking/widgets/VariableHeightPanel.java