Re: Swing and JavaFX thread merge

2013-08-14 Thread Artem Ananiev
On 8/13/2013 7:17 PM, Werner Lehmann wrote: Artem, we already tested with 7u40 b35 - same thing: Java Web Start 10.40.2.35 Using JRE version 1.7.0_40-ea-b35 Java HotSpot(TM) 64-Bit Server VM ... runTest in AWT-EventQueue-2 jfx button click in JavaFX Application Thread invokeLater from jfx

Re: Swing and JavaFX thread merge

2013-08-13 Thread Artem Ananiev
Jeff, Werner, thank you very much for detailed evaluation. The issues you observe may be related to recent changes in AWT/Swing in 7u25. If my guess is correct, they should be fixed in the latest 7u40 builds. I know it's not released yet, but early access builds are available at java.net.

Re: Swing and JavaFX thread merge

2013-08-13 Thread Werner Lehmann
Artem, we already tested with 7u40 b35 - same thing: Java Web Start 10.40.2.35 Using JRE version 1.7.0_40-ea-b35 Java HotSpot(TM) 64-Bit Server VM ... runTest in AWT-EventQueue-2 jfx button click in JavaFX Application Thread invokeLater from jfx button click in AWT-EventQueue-0 jbutton click

Re: Swing and JavaFX thread merge

2013-08-13 Thread Jeff Martin
Same here. jeff On Aug 13, 2013, at 10:17 AM, Werner Lehmann lehm...@media-interactive.de wrote: Artem, we already tested with 7u40 b35 - same thing: Java Web Start 10.40.2.35 Using JRE version 1.7.0_40-ea-b35 Java HotSpot(TM) 64-Bit Server VM ... runTest in AWT-EventQueue-2 jfx

Re: Swing and JavaFX thread merge

2013-08-12 Thread Werner Lehmann
Hi, coincidentally we were experiencing the exact same problem with the combination 7u25, OSX, Webstart. Also, we arrived at pretty much the same workaround. Investigation showed that multiple Swing eventqueues were created in the above configuration. This would cause threading issues

Re: Swing and JavaFX thread merge

2013-08-08 Thread Artem Ananiev
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

Re: Swing and JavaFX thread merge

2013-08-08 Thread Petr Pchelko
Hello. I've just pushed the fix to the repo, so it should be available in a couple of builds. However, it is an experimental feature, so we lack the documentation or examples on it. If you experience any issues with it - please contact me. As I wrote, it won't work by default in JDK8, you'll

Re: Swing and JavaFX thread merge

2013-08-08 Thread Jeff Martin
It looks like this is specific to MacOSX 7u25+, if you run Java Inventor from the JAWS link on MacOSX (I'm using JVM 1.7.0_25 or 40-ea): prompt javaws http://reportmill.com/javi/javi1/JavaInventor1.jnlp Here are the steps: 1. Create New Project and Open 2. Click on

Re: Swing and JavaFX thread merge

2013-08-08 Thread Jeff Martin
Addendum: it turns out that the JOptionPane is not blocking any of the UI (Swing included). So maybe this isn't strictly a JavaFX problem. jeff On Aug 8, 2013, at 8:17 AM, Jeff Martin j...@reportmill.com wrote: It looks like this is specific to MacOSX 7u25+, if you run Java Inventor from

Re: Swing and JavaFX thread merge

2013-08-08 Thread Jeff Martin
So I found a workaround, though I don't understand the why of the problem or workaround. What I found was that on MacOSX 7u25+, my app mainSwing() (executed via invokeLater() from main()) was being called on AWT-EventQueue-2 from the JAWS startup thread (javawsApplicationMain) instead of

Re: Swing and JavaFX thread merge

2013-08-07 Thread Artem Ananiev
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

Re: Swing and JavaFX thread merge

2013-08-07 Thread Jeff Martin
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. Is there