@Override
	public void componentShown() {
		isDisplayed = true;
		refreshDetails(plugin.getProgramLocation());
	}
Create a panel for the Diff details and auto update checkbox.
Ghidra/Features/ProgramDiff/src/main/java/ghidra/app/plugin/core/diff/DiffDetailsProvider.java