Create IntegerProperty from SimpleIntegerProperty and set constant value
import javafx.beans.property.IntegerProperty; import javafx.beans.property.SimpleIntegerProperty; public class Main { public static void main(String[] args) { IntegerProperty intProperty = new SimpleIntegerProperty(1024); System.out.println("intProperty = " + intProperty); } }