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 eclipse and in the arguments tab, add "${java_type_name}" as program argument. Then, any JavaFX Application Class can be run by selecting it in the Package Explorer and running this run configuration.
To be able to run JavaFX Applications outside of the chartfx project also add a classpath entry of type "Advanced", "Variable", "${project_classpat}", 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)
-