Package de.gsi.samples.util
Class LaunchJFX
- java.lang.Object
-
- de.gsi.samples.util.LaunchJFX
-
public class LaunchJFX extends java.lang.ObjectHelper class to launch JavaFX applications without manually adding modules and exports to the java command line. Add a run configuration for this class in the arguments tab and add as program argument:- for Eclipse IDE: "${java_type_name}"
- for Intellij IDE: "$FileClass$"
To be able to run JavaFX Applications outside of the chartfx project also add a classpath entry of type "Advanced", "Variable", "${project_classpath}", but there is no way to add the current projects dependencies to the classpath, yet.- Author:
- akrimm
- See Also:
- Stackoverflow: How to add JavaFX runtime to Eclipse in Java11 (2b)
-
-
Constructor Summary
Constructors Constructor Description LaunchJFX()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)
-