how to access the selected list view item code example Example: listview get selected java ListView.getSelectionModel().getSelectedItem();