public OptionDialogBuilder setIcon(Icon icon) {
		this.icon = icon;
		return this;
	}
Sets the Icon for the OptionDialog.
<P>
If both an Icon and a message type are specified,
the icon will take precedence.

@param icon the icon to display in the dialog.
@return this builder object.
Ghidra/Framework/Docking/src/main/java/docking/widgets/OptionDialogBuilder.java