listview get selected java

Java
ListView.getSelectionModel().getSelectedItem();
Source

Also in Java: