The key difference between Swing vs. JavaFX is that JavaFX is an actively maintained Java project that supports the development of modern, feature-rich GUI applications, while Swing is an older ...
The code below behaves very strangely. The GUI thread is blocked, even though "work" is a totally different thread. If I put a print statement in mouseClicked, the print executes, work keeps running.