Java FX 2 Table Cell Editing and Focus
问题 I've been learning a bit about JavaFX 2 but I've hit a problem with editable table cells that I can't find a solution too. To save pasting in a lot of code I've created a project that contains only the TableView example from the JavaFX documentation: http://docs.oracle.com/javafx/2/ui_controls/table-view.htm If you run up this code you see this behaviour: Clicking a row selects that row. Clicking a cell in the selected row converts the cell to a text field so that it is ready to be edited.