Packaging a Swing application with JavaFX components into an executable JAR
===

I am having trouble packaging an application with both Swing and JavaFX components into a JAR file. Running it from Eclipse is fine. But when executing the Jar, errors occur: The main method is run, which calls the constructor of my app. The constructor calls a `initAndShowGUI()` method, which tries to create a JFXPanel for later addition to a JFrame, but fails with following error message: `Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\User\bin\glass.dll`. This library seems to be needed by JavaFX but is somehow not loaded. "Pure" JavaFX apps (without Swing) call something like a "preinitialitation" method for JFX that loads all the needed libs, I think (I'm not completely sure).

Has anybody done this before? I've been looking for a solution a lot but have not been able to find one. Help is highly appreciated!