I\'m building a GUI in JavaFX for a rather large Java project. This project has many different worker threads doing some heavy computations in the background and I\'m trying
I believe this functionality can be achieved through the Task's messageProperty:
public void handle(ActionEvent event) {
...
JavaFXTest.this.lblState.textProperty().bind(testTask.messageProperty());
...
}
...
protected Void call() throws Exception {
...
this.updateProgress(i, maxValue - 1);
this.updateMessage("Hello " + i);
...
}