javafx how to get selected data from tableview using FXML
问题 I am working on a project a i want to get the selected data of tableview but i am using FXML. I have codes for no-FXML but i am unable to use it for FXML. code: public class person1 { private final StringProperty firstName = new SimpleStringProperty(""); private final StringProperty surname = new SimpleStringProperty(""); private final StringProperty goodnameof1 = new SimpleStringProperty(""); public person1(String firstName) { setFirstName(firstName); } public String getFirstName() { return