public void clear() {
		comparisonData = new Duo<>(EMPTY, EMPTY);

		// Setting the addresses to be displayed to null effectively clears
		// the display
		CodeComparisonPanel activePanel = getActiveComparisonPanel();
		if (activePanel != null) {
			activePanel.clearComparisons();
		}
	}
Clear both sides of this panel
Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/panel/FunctionComparisonPanel.java