public static ObservableSpinner<Integer> intSpinner(@Nonnull ObservableInteger observable, int min, int max) {
		int initial = observable.getValue();
		ObservableSpinner<Integer> spinner = new ObservableSpinner<>(observable);
		spinner.setValueFactory(new SpinnerValueFactory.IntegerSpinnerValueFactory(min, max, initial));
		spinner.setEditable(true);
		IntegerStringConverter.createFor(spinner);
		return spinner;
	}
@param observable
		Observable to wrap.
@param min
		Min value.
@param max
		Max value.

@return Spinner instance.
recaf-ui/src/main/java/software/coley/recaf/ui/control/ObservableSpinner.java