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