Re: Platform dependent behavior in Platform.startup()

2019-07-31 Thread Kevin Rushforth
While there is always a danger in calling a method that runs a lambda from a static init method, this seems like a case that should work. The current Mac implementation precludes returning from Platform::startup until after the Runnable passed into that method has completed and returned, which

Platform dependent behavior in Platform.startup()

2019-07-31 Thread Johan Vos
Hi, A pattern I increasingly use is to add JavaFX functionality to existing non-JavaFX applications. Rather than adding a class that extends javafx.application.Application, I add some code to an existing class, like this: javafx.platform.Platform.startup(() -> {System.err.println("JavaFX