Platforma Java Runlater ciągle działa

"To prevent this from happening, add this line before Platform.runLater"

Platform.setImplicitExit(false);
Platform.runLater(()->System.out.println("Inside Platform.runLater()"));
Inquisitive Iguana