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
- 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