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

Assigning IntegerProperty to ObservableValue<Integer>

XMLWordPrintable

      Assigning IntegerProperty to ObservableValue<Integer> results in an Incompatible Type error, which is quite unintuitive, as it works fine i.e. for StringProperty and ObservableValue<String>.

      Matters i.e. when writing your own Callback for a CellValueFactory of TableColumn<T,Integer>.

      Short discussions and workarounds at:

      https://forums.oracle.com/forums/thread.jspa?threadID=2462170
      https://forums.oracle.com/forums/thread.jspa?threadID=2317609

            msladecek Martin Sládeček
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: