public int show(Component parent) {
		if (rememberOption != null && rememberOption.hasRememberedResult()) {
			return rememberOption.getRememberedResult();
		}

		OptionDialog dialog = build();
		dialog.show(parent);
		return dialog.getResult();
	}
Builds and shows an OptionDialog based on the values set in this builder.

@param parent the component to use as the OptionDialog's parent when displaying it.
@return the result returned from the OptionDialog after the user selected an option.
Ghidra/Framework/Docking/src/main/java/docking/widgets/OptionDialogBuilder.java