0

We have developed Swing-JavaFx Integrated application for multimedia content like Image & Animations. Base Container for application is Swing JFrame. Inside, for Image we are using JFXPanel. But after continuous run of say ~12hrs and log analysis, we have observed that Task submitted to Platform.runlater is never getting executed.

PS: Platform.setImplicitExit(false) is done. Duration of occurence is not fixed, but usually after 6hrs. Implementation is changing images repeatedly after a defined duration.

Towfik Alrazihi
  • 536
  • 3
  • 8
  • 25
  • That sounds very strange and deserves a bug report at Oracle. You can try and run swing and javafx on the same thread with the jvm option `-Djavafx.embed.singleThread=true` but be aware that this is an experimental feature. Otherwise I would suggest moving away from swing and implementing the whole application in JavaFX. – Jhonny007 Sep 01 '16 at 09:30
  • Note that for a bug report you will need to provide a [MCVE]. It would be helpful here too if you can provide one. – James_D Sep 01 '16 at 12:06

0 Answers0