private void createCodeUnitsCheckBox() {
		diffCodeUnitsCB = new GCheckBox("Code Units", diffCodeUnits);
		diffCodeUnitsCB.setName("CodeUnitsDiffCB");
		diffCodeUnitsCB.getAccessibleContext().setAccessibleName("Code Unit Differences");
		diffCodeUnitsCB
				.setToolTipText("Highlight the instruction, data, " + "and equate differences.");
		diffCodeUnitsCB.addItemListener(event -> {
			diffCodeUnits = (event.getStateChange() == ItemEvent.SELECTED);
			diffFilter.setFilter(ProgramDiffFilter.CODE_UNIT_DIFFS, diffCodeUnits);
			diffFilter.setFilter(ProgramDiffFilter.EQUATE_DIFFS, diffCodeUnits);
			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