private JPanel createDiffFilterPanel() {
		JPanel checkBoxPanel = new JPanel();
		checkBoxPanel.setToolTipText("Check the types of differences between the two " +
			"programs that you want detected and highlighted.");

		createBytesCheckBox();
		createLabelsCheckBox();
		createCodeUnitsCheckBox();
		createReferencesCheckBox();
		createProgramContextCheckBox();
		createCommentsCheckBox();
		createBookmarksCheckBox();
		createPropertiesCheckBox();
		createFunctionsCheckBox();
		createSourceMapCheckBox();

		checkBoxPanel.setLayout(new GridLayout(2, 5, 5, 0));
		checkBoxPanel.add(diffBookmarksCB);
		checkBoxPanel.add(diffBytesCB);
		checkBoxPanel.add(diffCodeUnitsCB);
		checkBoxPanel.add(diffCommentsCB);
		checkBoxPanel.add(diffFunctionsCB);
		checkBoxPanel.add(diffLabelsCB);
		checkBoxPanel.add(diffProgramContextCB);
		checkBoxPanel.add(diffPropertiesCB);
		checkBoxPanel.add(diffReferencesCB);
		checkBoxPanel.add(diffSourceMapCB);

		JPanel buttonPanel = new JPanel();
		buttonPanel.getAccessibleContext().setAccessibleName("Button");
		createSelectAllButton();
		buttonPanel.add(selectAllButton);
		createDeselectAllButton();
		buttonPanel.add(deselectAllButton);

		JPanel panel = new JPanel(new BorderLayout());
		panel.add(checkBoxPanel, BorderLayout.CENTER);
		panel.add(buttonPanel, BorderLayout.SOUTH);
		panel.getAccessibleContext().setAccessibleName("Difference Filter");
		return panel;
	}
Create a panel for the checkboxes to indicate the filter settings.
Ghidra/Features/ProgramDiff/src/main/java/ghidra/app/plugin/core/diff/ExecuteDiffDialog.java