List of usage examples for javafx.beans.property StringProperty isBound
boolean isBound();
From source file:Main.java
License:asdf
public static void main(String[] args) { StringProperty prop1 = new SimpleStringProperty(""); StringProperty prop2 = new SimpleStringProperty(""); prop2.bindBidirectional(prop1);/*from w ww. j a v a 2s . co m*/ System.out.println("prop1.isBound() = " + prop1.isBound()); System.out.println("prop2.isBound() = " + prop2.isBound()); prop1.set("asdf"); System.out.println(prop2.get()); prop2.set(prop2.get()); System.out.println(prop1.get()); }