public class LaunchJFX
extends Object
Helper 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)