I am re-learn binding in JavaFX, coming from JavaFX Script 1.3.
I wrote an app that binds the slider value to a Text component; works as expected. The app also correctly binds a derived value (see scaledNumeratorValue and its binding to scaledNumerator.textProperty() in the attached source code ) to a second Text control.
A similar StringExpression is bound to the textProperty of a Textfield control but an UnsupportedOperationException is thrown at runtime when the call to bind() is made.
I wrote an app that binds the slider value to a Text component; works as expected. The app also correctly binds a derived value (see scaledNumeratorValue and its binding to scaledNumerator.textProperty() in the attached source code ) to a second Text control.
A similar StringExpression is bound to the textProperty of a Textfield control but an UnsupportedOperationException is thrown at runtime when the call to bind() is made.