public static final boolean promptContinue(String title, String message, int messageType) {
		if (SystemUtilities.isInHeadlessMode()) {
			message = title + " : " + message;

			switch (messageType) {
				case OptionDialog.WARNING_MESSAGE:
					Msg.warn(CartCancelDialogs.class, message);
					break;
				case OptionDialog.ERROR_MESSAGE:
					Msg.error(CartCancelDialogs.class, message);
					break;
				default:
					Msg.info(CartCancelDialogs.class, message);
					break;
			}

			Msg.info(CartCancelDialogs.class,
				"User can't respond to message, treating as cancellation.");
			return false;
		}
		return OptionDialog.showOptionDialogWithCancelAsDefaultButton(null, title,
			wrapHtml(message), "Continue", messageType) == OptionDialog.OPTION_ONE;
	}
Prompt the user with a given title and message with a specified message type for them
to "Continue" the operation or cancel. Message may contain HTML and should be
sanitized for safety by the caller. Returns true if the user wants to continue the
operation.

<B>Note:</B> If in headless mode log the message at the appropriate level and then
treat as if the user chose to <B>cancel</B> the operation. Also, log a message stating
this decision was made.

@param title          The title of the dialog window
@param message        Message prompt to display to user
@param messageType    The type of message see {@link OptionDialog}
@return               True if the user chooses to continue, False otherwise.
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/cart/CartCancelDialogs.java