Skip to content
Snippets Groups Projects
App.java 519 B
Newer Older
  • Learn to ignore specific revisions
  • BasileCouetoux's avatar
    BasileCouetoux committed
    package state;
    
    import javafx.application.Application;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    
    public class App extends Application {
    
        public static void main(String[] args) {
            launch(args);
        }
    
        @Override
        public void start(Stage primaryStage) {
            Group root = new Group();
            Drawer container = new Drawer(800, 600);
            root.getChildren().add(container);
            primaryStage.setScene(new Scene(root));
            primaryStage.show();
        }
    }