Skip to content
Snippets Groups Projects
  • Kevin Thaller's avatar
    75cae095
    big update: · 75cae095
    Kevin Thaller authored
    -add toString() for Course, Student and CoursesOfStudy
    -fix null-pointer-exception in detailControllers + SwitchWindowHelper
    -add CoursesOfStudy Column in Student
    -add find-Methods to JpaService
    -connect Gui to DB
    75cae095
    History
    big update:
    Kevin Thaller authored
    -add toString() for Course, Student and CoursesOfStudy
    -fix null-pointer-exception in detailControllers + SwitchWindowHelper
    -add CoursesOfStudy Column in Student
    -add find-Methods to JpaService
    -connect Gui to DB
Main.java 609 B
package de.thdeg.grademanager.gui;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.io.IOException;


public class Main extends Application {

    @Override
    public void start(Stage stage) throws IOException {
        FXMLLoader fxmlLoader = new FXMLLoader(Main.class.getResource("main.fxml"));
        Scene scene = new Scene(fxmlLoader.load(), 960, 540);
        stage.setTitle("Main");
        stage.setScene(scene);
        stage.show();
    }

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