Swing and JavaFX thread merge
artem.ananiev at oracle.com
Thu Aug 8 04:50:10 PDT 2013
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
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
> 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?
> On Aug 7, 2013, at 5:06 AM, Artem Ananiev <artem.ananiev at oracle.com> wrote:
>> Hi, Pedro Duque Vieira,
>> this is in progress. JDK part is tracked in 8015477:
>> JavaFX part is described in RT-30694:
>> Note that in JDK8/JavaFX8 single-threaded mode will not be a part of public API, it will be an experimental feature.
>> On 8/7/2013 2:43 AM, Pedro Duque Vieira wrote:
>>> 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,
More information about the openjfx-dev