JavaFX | Make an update of the UI | Platform.runlater
In javaFX any update of the user interface should be done by the javaFX application thread. Any other thread trying to update the UI will crash the application. So if you have a multi threaded application every line of code that update the UI should be wrapped in Platform.runLater block like this:
No comments:
Post a Comment