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

Binding does not work for Label

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: fx2.1, 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      I observed this on Windows 7

      Description

      Binding of text property on a Label node does not work properly. Binding however works fine for a Text node.

      Ex:
      Label myLabel = new Label();
      myLabel.textProperty().bind(<observable value, StringProperty>);

      When I use Text instead of Label, the value changes fine for the same observable value.

        Attachments

          Activity

            People

            • Assignee:
              jgiles Jonathan Giles
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: