Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;

public class Main {
    public static void main(String[] args) {
        IntegerProperty intProperty = new SimpleIntegerProperty(1024);
        IntegerProperty otherProperty = new SimpleIntegerProperty(0);

        otherProperty.bind(intProperty);
        intProperty.set(7168);
        otherProperty.unbind();
        intProperty.set(8192);

    }
}