@Nonnull
	public ActionButton once() {
		EventHandler<ActionEvent> onAction = getOnAction();
		if (onAction == null)
			throw new IllegalArgumentException("No action set");
		setOnAction(e -> {
			onAction.handle(e);
			setDisable(true);
			setOnAction(null);
		});
		return this;
	}
Only allow the action to be run once.

@return Self.
recaf-ui/src/main/java/software/coley/recaf/ui/control/ActionButton.java