I am have just started my first javafx application and I have the following easy issue:
I have the following javafx fxml file
Now I want to bind this 4 fields to an object and use this object on the fxml controller class to pass the data entered on the form into the database .I have tried to find related examples on the Internet but without any luck. Can anyone help me.
You need to define a controller class. Either by telling the classname in the fxml file or in the loader of your fxml file.
You might want to read fxml manual and fxml tutorial.
If you have any questions don't hesitate to ask.