package p.studio;

import javafx.application.Application;
import javafx.stage.Stage;
import p.studio.window.StudioWindowCoordinator;

public class App extends Application {

    @Override
    public void init() throws Exception {
        super.init();
        Container.install(new AppContainer());
    }

    @Override
    public void start(Stage stage) {
        new StudioWindowCoordinator(stage).showLauncher();
    }

    @Override
    public void stop() throws Exception {
        Container.shutdown();
        super.stop();
    }

    public static void main(String[] args) {
        launch();
    }
}
