Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaFX Progress bar( Scenebuilder ) Netbeans project, progress bar not updating

 
Mike Ever
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using a Java class SpeedTests that extends Tasks, the call method, and "updateProgress" method.

The progress bar in the Controller class has a bind on the SpeedTests progressProperty,
but, it doesn't update. What am I missing?



 
John Damien Smith
Ranch Hand
Posts: 298
14
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are not running a task on it's own thread.

Instead of:

Invoke:

See the Task javadoc for more information.
 
Mike Ever
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, that did it.
And your description helped.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic