Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

onclick listview javafx

@FXML
private ListView listView;

@FXML public void handleMouseClick(MouseEvent arg0) {
    System.out.println("clicked on " + listView.getSelectionModel().getSelectedItem());
}
 
PREVIOUS NEXT
Tagged: #onclick #listview #javafx
ADD COMMENT
Topic
Name
2+4 =