package de.fhswf.in.inf.se.notepadMinusMinus; import de.fhswf.in.inf.se.notepadMinusMinus.model.Grade; import javafx.application.Application; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.layout.BorderPane; import javafx.stage.Stage; public class Main extends Application { private ObservableList gradeList = FXCollections .observableArrayList(); @Override public void start(Stage primaryStage) { try { BorderPane root = (BorderPane) FXMLLoader .load(getClass().getResource("view/mainView.fxml")); Scene scene = new Scene(root); primaryStage.setScene(scene); primaryStage.setMaximized(true); primaryStage.show(); } catch (Exception e) { e.printStackTrace(); } } public static void main(String[] args) { launch(args); } public ObservableList getGradeList() { return gradeList; } }