@Override
	protected JPanel buildOptionsPanel() {
		JPanel panel = super.buildOptionsPanel();

		maxResultsField = new IntegerTextField(10);
		maxResultsField.setValue(100);
		maxResultsField.setMinValue(BigInteger.ONE);
		maxResultsField.setAllowNegativeValues(false);
		maxResultsField.setAllowsHexPrefix(false);
		maxResultsField.setShowNumberMode(false);

		JComponent maxResultsComponent = maxResultsField.getComponent();

		JLabel maxLabel = new JLabel("Max Matches Per Function:");
		maxLabel.setLabelFor(maxResultsComponent);

		panel.add(maxLabel);
		panel.add(maxResultsComponent);
		return panel;
	}
Dialog for initiating a BSim similar function match search.
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/search/dialog/BSimSearchDialog.java