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

TableView tutorial: suboptimal example for editing

XMLWordPrintable

      Example 13.9 in http://docs.oracle.com/javase/8/javafx/user-interface-tutorial/table-view.htm#CJAGAAEE uses

      - PropertyValueFactory _and_
      - a custom editCommit handler

      The latter is unneeded when using the former - provided the bean is implemented according to convention - which it isn't, as it's missing property accessors.

      Suggested fix:
      - implement Person as a full-fledged conventional fx bean
      - remove the editCommit handlers


            Unassigned Unassigned
            fastegal Jeanette Winzenburg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: