JFX as an OSGi service?

Kevin Rushforth kevin.rushforth at oracle.com
Fri Feb 19 15:41:45 UTC 2016


And for JDK 9 there is now:

    Platform.startup(Runnable);

-- 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].
>
>
> [1]
> https://docs.oracle.com/javase/8/javafx/api/javafx/application/Platform.html#runLater-java.lang.Runnable-
> [2] https://bugs.openjdk.java.net/browse/JDK-8090585
> [3]
> http://download.java.net/jdk9/jfxdocs/javafx/application/Platform.html#startup-java.lang.Runnable-
>
>
> On 18 February 2016 at 20:08, Stephen Winnall <steve at winnall.ch> 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()
>>
>>     
>
>
>
>   


More information about the openjfx-dev mailing list