We use a ReadOnlyObjectWrapper<>(*integer value*);
and store the value in a ObservableValue
reference.
ObservableValue obsInt = new ReadOnlyObjectWrapper<>(intValue);
Update
Starting JavaFX 8, you can also do the following :
ObservableValue obsInt = new SimpleIntegerProperty(intValue).asObject();