private JPanel createDiffDetailsPanel() {
		JPanel panel = new JPanel(new BorderLayout());
		panel.setPreferredSize(new Dimension(600, 400));
		JScrollPane scrolledDetails = createDetailsPane();
		panel.add(scrolledDetails, BorderLayout.CENTER);
		createAutoUpdateCheckBox();
		createFilterDiffsCheckBox();
		JPanel bottomPanel = new JPanel();
		bottomPanel.setLayout(new BoxLayout(bottomPanel, BoxLayout.X_AXIS));
		bottomPanel.add(Box.createHorizontalGlue());
		bottomPanel.add(autoUpdateCB);
		bottomPanel.add(Box.createHorizontalStrut(10));
		bottomPanel.add(filterDiffsCB);
		bottomPanel.add(Box.createHorizontalGlue());
		panel.add(bottomPanel, BorderLayout.SOUTH);
		return panel;
	}
Create a panel for the Diff details and auto update checkbox.
Ghidra/Features/ProgramDiff/src/main/java/ghidra/app/plugin/core/diff/DiffDetailsProvider.java