private Component buildSelectedFunctionPanel() {
		JPanel panel = new JPanel(new BorderLayout());
		JPanel innerPanel = new JPanel(new BorderLayout());
		innerPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 10));
		functionsField = new JTextField(20);
		functionsField.setEditable(false);
		innerPanel.add(functionsField, BorderLayout.CENTER);
		panel.add(innerPanel, BorderLayout.CENTER);
		JButton button = new EmptyBorderButton(FUNCTIONS_ICON);
		button.setToolTipText("Show table of selected functions");
		button.addActionListener(e -> showSelectedFunctionsDialog());
		panel.add(button, BorderLayout.EAST);
		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