A JavaFX tutorial on how to update the UI on the GUI thread. Difficult to track down errors can be avoided by switching to the GUI thread when updating user interface information from external threads. Hint! It's easy! Just don't forget to do it!
The key point to remember is to use the Platform.runlater to switch to the GUI thread when updating items from an external thread.
The blog version of this JavaFX example application can be found here: https://wp.me/pagKw9-1q8
The source code for this GUI tutorial can be found on our public github:
https://github.com/noblecodemonkeys/F...