i see a lot of developers use runLater as though i...
# tornadofx
c
i see a lot of developers use runLater as though it meant "runNow". maybe javafx should deprecate runLater and create a method runAWholeLaterLaterThanYouProbablyThink()
r
I see your point, but if your
runLater
is running more than a few frames later, it's a good sign you have much more serious problems (too much going on on the UI thread, way too many
runLater
calls, etc.).
c
Agreed, but i've seen these runLaters run significantly later than expected. A regular example i've seen is to gather UI updates in a looping, threaded, long-running operations. updateProgress/Message aside, this ends up making the app unresponsive for the process and then a flood of UI updates
r
Indeed