import controllers.MainController; import javafx.application.Application; import javafx.scene.Scene; import javafx.stage.Stage; import models.MainModel; import views.MainView; public class App extends Application { public void start(Stage primaryStage) { MainView mainWindow = new MainView(); MainModel mainModel = new MainModel(); new MainController(mainWindow, mainModel); Scene scene = new Scene(mainWindow, 300, 250); primaryStage.setScene(scene); primaryStage.show(); } public static void main(String[] args) throws Exception { launch(args); } }