How to avoid Not on FX application thread; currentThread = JavaFX Application Thread error?

Platform.setImplicitExit(false); solved my problem. I think they changed the implementation in JavaFX 8, so the same code that works without any issue in JavaFX 2 gives the not an fx application thread error there.

Leave a Comment