Javafx 8 : Populating a TableView in initialize method
You replace your TableView in your initialize method. table =new TableView<Employee>(employees); You assign the data to the new TableView and leave the one created from the fxml empty. Instead use the one injected by the FXMLLoader: @Override public void initialize(URL location, ResourceBundle resources){ super.initialize(); dao = (DAO<Employee>) dFact.getEmployeeDAO(); try { employees = dao.findAll(); // set … Read more