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