Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Running JavaFX and Swing on the same thread might help fix your threading issues.</p> <p>There is an experimental feature in Java 8 to run JavaFX and Swing on the same thread:</p> <p><a href="https://javafx-jira.kenai.com/browse/RT-30694" rel="nofollow">https://javafx-jira.kenai.com/browse/RT-30694</a> <a href="http://bugs.sun.com/view_bug.do?bug_id=8015477" rel="nofollow">http://bugs.sun.com/view_bug.do?bug_id=8015477</a></p> <p>I think <code>-Djavafx.embed.singleThread=true</code> is the command line property setting to enable the experimental single threading system.</p> <p>I am not sure if the <a href="http://www.mail-archive.com/openjfx-dev@openjdk.java.net/msg01701.html" rel="nofollow">experimental feature</a> is available in the <a href="https://jdk8.java.net/download.html" rel="nofollow">current Java 8 builds</a>, but I think it might be now, so you may wish to try it.</p> <p>If you need more information on the experimental single threading feature, you could ask the developers on the <a href="http://mail.openjdk.java.net/mailman/listinfo/openjfx-dev" rel="nofollow">openjfx-dev mailing list</a>.</p> <hr> <p>Java 8 has better inbuilt reporting of when code is not run on the correct thread, it's not comprehensive, but it <em>might</em> assist you in locating the source of your error, even if you are not using the single threading option.</p> <hr> <p>Some other users running large applications merging Swing and JavaFX reported similar hard to debug threading issues, so you could check those <a href="http://www.mail-archive.com/openjfx-dev@openjdk.java.net/msg01880.html" rel="nofollow">threads</a> to see if your issues have the same cause.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload