Difference in Behaviour Between ObservableMap & ObservableList When Tied to a Listener

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • 8u20
    • Affects Version/s: 8u20
    • Component/s: javafx
    • None
    • Environment:

      Windows 7.
      Java 8 Build 123.
      NetBeans 8.

      When I run a setAll on an ObservableList that has a ListChangeListener attached to it, the listener is only woken up once, after all of the items have been added to the list.

      Running putAll on an ObservableMap with a MapChangeListener does not have the same effect. It will wake the listener for every item being added to it.

            Assignee:
            Martin Sládeček
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: