Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8128491

TextField Binding causes UnsupportedOperationException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • fx2.0
    • 7-pool
    • javafx
    • Win 7 64 bit, NetBeans 7.1 & JavaFX 2.0 bundle from javafx.com

      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.

            rbair Richard Bair (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: