public static int showOptionDialog(Component parent, String title, String message,
			String option1, String option2, String option3, int messageType) {

		return Swing.runNow(() -> {
			OptionDialog dialog = new OptionDialog(title, message, option1, option2, option3,
				messageType, null, true);
			return dialog.show(parent);
		});
	}
Static helper method to easily display an <b>three-option</b> dialog.  The dialog
will remain until the user presses the Option1, Option2, Option3 or Cancel button.

@param parent    The parent component of this dialog. If the given component is
a frame or dialog, then the component will be used to parent the option dialog.
Otherwise, the parent frame or dialog will be found by traversing up the given
component's parent hierarchy.  Also, null can be used.
@param title The String to be placed in the dialogs title area.
@param message The information message to be displayed in the dialog.
@param option1 The text to place on the first option button.
@param option2 The text to place on the second option button.
@param option3 The text to place on the third option button.
@param messageType The type of message to display
@return The options selected by the user. 1 for the first option and
 2 for the second option and so on.  0 is returned if the operation is cancelled.
Ghidra/Framework/Docking/src/main/java/docking/widgets/OptionDialog.java