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