So I used this link to set up my progress bar and it worked perfectly fine when I ran this code.
However, with the setup that I have, I can\'t seem to get the progressba
in your controller you do :
progressBar = new ProgressBar(0);
this mean it will create a new instance of ProgressBar and it will not use your progressBar from your FXML anymore. Just remove this line, it should works