private void createProgramContextCheckBox() {
		diffProgramContextCB = new GCheckBox("Program Context", diffProgramContext);
		diffProgramContextCB.setName("ProgramContextDiffCB");
		diffProgramContextCB.getAccessibleContext()
				.setAccessibleName("Program Context Differences");
		diffProgramContextCB.setToolTipText("Highlight the program context register differences.");
		diffProgramContextCB.addItemListener(event -> {
			diffProgramContext = (event.getStateChange() == ItemEvent.SELECTED);
			diffFilter.setFilter(ProgramDiffFilter.PROGRAM_CONTEXT_DIFFS, diffProgramContext);
			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