private void createCommentsCheckBox() {
		diffCommentsCB = new GCheckBox("Comments", diffComments);
		diffCommentsCB.setName("CommentsDiffCB");
		diffCommentsCB.getAccessibleContext().setAccessibleName("Comment Differences");
		diffCommentsCB.setToolTipText("Highlight comment differences.");
		diffCommentsCB.addItemListener(event -> {
			diffComments = (event.getStateChange() == ItemEvent.SELECTED);
			diffFilter.setFilter(ProgramDiffFilter.COMMENT_DIFFS, diffComments);
			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