Progrès ajout Launcher

Ajout de JavaFX.fxml aux dépendances, aménagement de l'architecture du
launcher pour (launcher étend maintenant Application, Main lance
correctement le Launcher)
This commit is contained in:
François Autin
2021-05-27 03:02:36 +02:00
parent 33a02891fc
commit 75865640aa
3 changed files with 22 additions and 17 deletions

View File

@ -9,11 +9,20 @@
package launcher;
public class Launcher {
import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.shape.Circle;
import javafx.stage.Stage;
import javafx.fxml.*;
public void launch() throws Exception {
System.out.println("Hello world!");
public class Launcher extends Application {
Parent root = FXMLLoader.load("ui/main.fxml");
Scene main = new Scene()
public void start(Stage primaryStage) throws Exception {
}