B4J Question SwingFXUtils

andrewmp

Member
Licensed User
Longtime User
Hello, I'm doing a windows build when I run the exe it says:

java.lang.RuntimeException: java.lang.ClassNotFoundException: javafx$embed$swing$SwingFXUtils
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: javafx$embed$swing$SwingFXUtils

What am I missing?

Thanks
 

Daestrum

Expert
Licensed User
Longtime User
The only way I can re-create your error is to try to use javafx.embed.swing.SwingFXUtils in a non-UI application.

If your app is a non-UI then simply use swing / awt.
 
Upvote 0

andrewmp

Member
Licensed User
Longtime User
Thanks but we figured it out , we had tried using jmetro-11.6.16.jar (trying styles) , removing it solved the problem , we are not using it anyway.
 
Upvote 0
Top