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

TextField Binding causes UnsupportedOperationException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7-pool
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:
    • Environment:

      Win 7 64 bit, NetBeans 7.1 & JavaFX 2.0 bundle from javafx.com

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: