Re: JFX as an OSGi service?

2016-02-19 Thread Stephen Winnall
Anirvan, Kevin Thanks for this. I’m an expert neither in JavaFX nor in OSGi, but I think the basis of the JavaFX/OSGi incompatibility is control. To work with OSGi, JavaFX has to relinquish control of its startup sequence to OSGi in such a way that javafx.application.Application (or its

Review Request: 8150294 [packager] Netbeans Packager Project

2016-02-19 Thread Chris Bensen
Hi Kevin, Please review this change to add a Netbeans project for the Java Packager jdk.packager module: JIRA: https://bugs.openjdk.java.net/browse/JDK-8150294 Webrev: http://cr.openjdk.java.net/~cbensen/JDK-8150294/webrev.00

Re: JEP 283: Enable GTK 3 on Linux

2016-02-19 Thread Phil Race
We had not forgotten that the other JEP was there (as a draft) but the new JEP started with a pure FX focus on allowing FX to use either GTK2 or GTK3 depending on what you needed. It was extended (feature creep) whilst being drafted to include doing the same for AWT/Swing but the focus was

Re: NPE in PrismFontLoader.java: Loading primary font factory failed

2016-02-19 Thread Kevin Rushforth
What I meant was for you to find out whether the system pango library that javafx_font_pango.so depends upon is present. Run the "ldd" commands and make sure there are no missing dependencies. Also, I hadn't noticed you were trying to use the ARM bits. Maybe Dave Hill has some additional

Re: NPE in PrismFontLoader.java: Loading primary font factory failed

2016-02-19 Thread Maurice
Kevin, Yes, in lib/arm these libraries are present. I'm using the Oracle ARM JDK 1.8.0_33 fwiw. On the default ubuntu based image I can run JavaFX with this Java setup, but without HW acceleration. Maurice. root@udooqdl:/# find / -name "*javafx_font*.so"

Re: NPE in PrismFontLoader.java: Loading primary font factory failed

2016-02-19 Thread Kevin Rushforth
Another thing that might help diagnose which library has the problem is to run with "java -Djavafx.verbose=true ..." -- that option will print each native library as it is being loaded and print the exception message if one fails. -- Kevin Kevin Rushforth wrote: Do you have the pango and

Re: NPE in PrismFontLoader.java: Loading primary font factory failed

2016-02-19 Thread Kevin Rushforth
Do you have the pango and freetype libraries installed on your platform? One thing to check is whether any dependent libraries are missing for the following .so files: ldd libjavafx_font.so ldd libjavafx_font_freetype.so ldd libjavafx_font_pango.so -- Kevin Maurice wrote: I'm

Re: JEP 283: Enable GTK 3 on Linux

2016-02-19 Thread Kevin Rushforth
Current plan is to track all of the work for both JavaFX and Swing with this JEP. -- Kevin Anirvan Sarkar wrote: Hi, One of the sub-task of this JEP is to 'Rework Swing GTK LnF to support GTK-3'. This seems something in common with another submitted JEP [1]: 'Modernize the GTK3 Look and

Re: JFX as an OSGi service?

2016-02-19 Thread Kevin Rushforth
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.

In(Sanity) Testing Mondays

2016-02-19 Thread Vadim Pakhnushev
Reminder, Monday is our weekly sanity testing. You can find your testing assignment at: https://wiki.openjdk.java.net/display/OpenJFX/Sanity+Testing Also please remember that the repo will be locked from 1am PST until 1pm PST. Happy testing! Thanks, Vadim

NPE in PrismFontLoader.java: Loading primary font factory failed

2016-02-19 Thread Maurice
I'm building a Yocto Embedded Linux image for the ARM based Udoo Board Quad. At the moment the build is good enough that JavaFX seems to see the Vivante GPU, but my small test program fails with a NullPointerException: at com.sun.javafx.font.PrismFontLoader.font(PrismFontLoader.java:172)

Re: JEP 283: Enable GTK 3 on Linux

2016-02-19 Thread Anirvan Sarkar
Hi, One of the sub-task of this JEP is to 'Rework Swing GTK LnF to support GTK-3'. This seems something in common with another submitted JEP [1]: 'Modernize the GTK3 Look and Feel implementation'. So will these two JEP complement each other or will the other one be now redundant ? [1]

Re: JFX as an OSGi service?

2016-02-19 Thread Anirvan Sarkar
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]