private void createButtonPanel() {
		setLayout(new GridBagLayout());
		GridBagConstraints gbc = new GridBagConstraints();

		gbc.gridx = 0;
		gbc.gridy = 0;
		addBtn = createButton("addBtn", new GIcon("icon.plugin.functiontags.add"),
			"Add selected tags to the function",
			e -> {
				sourcePanel.addSelectedTags();
			});
		add(addBtn, gbc);

		gbc.gridy = 1;
		removeBtn =
			createButton("removeBtn", new GIcon("icon.plugin.functiontags.remove"),
				"Remove selected tags from the function",
				e -> targetPanel.removeSelectedTags());
		add(removeBtn, gbc);

		gbc.gridy = 2;
		deleteBtn = createButton("deleteBtn", Icons.DELETE_ICON,
			"Deletes the selected tags from the program", e -> {
				sourcePanel.deleteSelectedTags();
				targetPanel.deleteSelectedTags();
			});
		add(deleteBtn, gbc);

		setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
		setMaximumSize(new Dimension(30, 300));

		addBtn.setEnabled(false);
		removeBtn.setEnabled(false);
		deleteBtn.setEnabled(false);
	}
Invoked when the user has selected an item in the target panel.

@param validFunction true if a function is selected in the listing
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/tags/FunctionTagButtonPanel.java