public void dispose() {
		tabbedPane.removeAll();

		setVisible(false);
		for (CodeComparisonPanel codeComparisonPanel : codeComparisonPanels) {
			codeComparisonPanel.dispose();
		}
	}
Remove all views in the tabbed pane
Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/panel/FunctionComparisonPanel.java