Long-running operations must not be run on the JavaFX application thread, since this prevents JavaFX from updating the UI, resulting in a frozen UI.
Furthermore any change to a Node that is part of a "live" scene graph must happen on the JavaFX application thread. Platform.runLater can be...