And for JDK 9 there is now:


-- Kevin

Anirvan Sarkar wrote:
Hi Stephen,

FYI, there is another way of initializing JavaFX runtime. Just use:

new JFXPanel();

It is documented[1] that FX runtime is initialized when the first JFXPanel
instance is constructed.

Also JavaFX 9 will provide an official API to start the FX platform [2] [3].


On 18 February 2016 at 20:08, Stephen Winnall <> wrote:

As I understand it, there are two ways of activating JavaFX:

1) sub-class javafx.application.Application or
2) call javafx.application.Application.launch()

Reply via email to