private JButton createButton(String name, Icon icon, String tooltip, ActionListener action) {
		JButton button = new GButton(name);
		button.setName(name);
		button.setToolTipText(tooltip);
		button.setIcon(icon);
		button.setText("");
		button.addActionListener(action);
		return button;
	}
Helper function for creating a button with a given action.

@param name the name of the button
@param icon the icon
@param tooltip the tooltip to display on hover
@param action the action to execute on click
@return the new button
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/tags/FunctionTagButtonPanel.java