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