private void createReferencesCheckBox() {
		diffReferencesCB = new GCheckBox("References", diffReferences);
		diffReferencesCB.setName("ReferencesDiffCB");
		diffReferencesCB.getAccessibleContext().setAccessibleName("Reference Differences");
		diffReferencesCB.setToolTipText("Highlight the reference differences.");
		diffReferencesCB.addItemListener(event -> {
			diffReferences = (event.getStateChange() == ItemEvent.SELECTED);
			diffFilter.setFilter(ProgramDiffFilter.REFERENCE_DIFFS, diffReferences);
			clearStatusText();
		});
	}
Create a panel for the checkboxes to indicate the filter settings.
Ghidra/Features/ProgramDiff/src/main/java/ghidra/app/plugin/core/diff/ExecuteDiffDialog.java