@Override
		public Dimension preferredLayoutSize(Container parent) {
			Insets insets = parent.getInsets();
			Dimension d = new Dimension();
			for (Component comp : parent.getComponents()) {
				Dimension size = comp.getPreferredSize();
				d.width = Math.max(d.width, size.width);
				d.height = Math.max(d.height, size.height);
			}
			d.width += insets.left + insets.right;
			d.height += insets.top + insets.bottom;
			return d;
		}
Uses a layered pane to create a "watermark effect" to show when the GTaskManger is suspended.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/gui/taskview/TaskViewer.java