I'm trying to run a javafx application using a "login preloader".
My question is, how do I test everything without creating the final jars.
Can I run a command (such as java -cp . app.my.Main) and show it works ?
Ok, this works for launching application, but the preloader does not show up ...
My problem is testing my preloader.
In fact i have 2 issues :
- Starting the full application (application + preloader) (NetBeans 7.2 works fine, for it, but I want be able to test the program without NetBeans)
- Is there a way to manually start the Preloader (for test purpose) and send change notification (event) to the preloader.
Actually, using JavaFX 2.2, it's possible to use this code to start the application : com.sun.javafx.application.LauncherImpl.launchApplication(Main.class, Preloader.class, args); instead of Application.launch(args).
Looks like JavaFX 8.0 use launchApplicationWithArgs ...