New course! Every coder should learn Generative AI!
Try a free lesson+ 11
You need to link your TableView in the .java file to the fxml using the @FXML annotation.
Then you can set the items to the TableView object.
Tutorial:
https://docs.oracle.com/javase/8/javafx/fxml-tutorial/fxml_tutorial_intermediate.htm