public void showResultPanel(boolean b) {
		if (b) {
			mainPanel.setRightComponent(resultPanel);
			mainPanel.setDividerLocation(lastDividerLocation);
			mainPanel.invalidate();
		}
		else {
			int dividerLocation = mainPanel.getDividerLocation();
			Dimension size = mainPanel.getSize();
			int width = Math.max(1, size.width);
			lastDividerLocation = (float) dividerLocation / (float) width;
			mainPanel.remove(resultPanel);
		}
		validate();
	}
Turns on or off the display of the task results panel.
@param b if true, displays the task results panel.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskManagerPanel.java