Sorry, I am not familiar with JavaFX classes. My only suggestion is to read the API doc to see what other methods may be useful.
The only suggestion I have is to not have the setOnStatusChange...
Type: Posts; User: Norm
Sorry, I am not familiar with JavaFX classes. My only suggestion is to read the API doc to see what other methods may be useful.
The only suggestion I have is to not have the setOnStatusChange...
Yes, the problem seems to be that url is changed many times by the setOnStatusChanged method. I don't know how to change that.
Have you tried debugging the code to see what is happening?
For example what are the values in the url variable? Add some print statements to show its value when it is changed and when it is used.