private void update() {
		mainPanel.invalidate();
		Container parent = mainPanel.getParent();
		if (parent != null) {
			parent.validate();
			parent.repaint();
		}
	}
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