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

Binding does not work for Label

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • fx2.1, 7u6
    • javafx
    • I observed this on Windows 7

      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.

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: