javafx listview get selected item code example Example: listview get selected java ListView.getSelectionModel().getSelectedItem();