On 8/8/2013 1:45 AM, Jeff Martin wrote:
I thought I was getting this automatically - when I run on my
desktop, I can bring up a JOptionPane from a Swing thread and
JFXPanels (correctly) block. But when I run from Java Web Start, they
don't, and I end up with sporadic SwingUtilities.computeIntersection
NullPointerException.

Once these two JDK/JavaFX bugs are resolved, scenario with JOptionPane you described will work. As I wrote, it won't work by default in JDK8, you'll need to run your app with certain system property (something like -Djavafx.swing.singlethreaded=true).

Is there a secret setting that has a different default with JAWS?

NPEs look like a bug, either in AWT/FX, or in your application. I really doubt it's related to Java Web Start. Could you provide a test to reproduce the exceptions, please?

Thanks,

Artem

jeff


On Aug 7, 2013, at 5:06 AM, Artem Ananiev <artem.anan...@oracle.com> wrote:

Hi, Pedro Duque Vieira,

this is in progress. JDK part is tracked in 8015477:

http://bugs.sun.com/view_bug.do?bug_id=8015477

JavaFX part is described in RT-30694:

https://javafx-jira.kenai.com/browse/RT-30694

Note that in JDK8/JavaFX8 single-threaded mode will not be a part of public 
API, it will be an experimental feature.

Thanks,

Artem

On 8/7/2013 2:43 AM, Pedro Duque Vieira wrote:
Hi,

Some time ago there was a patch submitted which for all purposes merged the
swing and javafx thread, making it easier for developers working on a
swing/javafx app - http://wiki.apidesign.org/wiki/JavaFX

Is this available now (I was under the impression it is)? How do I use it?

Thanks in advance,


Reply via email to