2022-11-15 14:26:06 +01:00
|
|
|
package com.bib.essensbestellungsverwaltung;
|
|
|
|
|
|
|
|
import javafx.application.Application;
|
|
|
|
import javafx.fxml.FXMLLoader;
|
2023-01-17 22:30:56 +01:00
|
|
|
import javafx.scene.Parent;
|
2022-11-15 14:26:06 +01:00
|
|
|
import javafx.scene.Scene;
|
|
|
|
import javafx.stage.Stage;
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
|
|
|
public class HelloApplication extends Application {
|
|
|
|
@Override
|
2023-01-17 22:30:56 +01:00
|
|
|
public void start(Stage primaryStage) throws IOException {
|
|
|
|
Parent fxmlStartSeiteLoader = FXMLLoader.load(HelloApplication.class.getResource("menue-view.fxml"));
|
2023-01-17 08:47:09 +01:00
|
|
|
/**
|
2023-01-17 22:30:56 +01:00
|
|
|
* @author: Reshad Meher
|
2023-01-17 08:47:09 +01:00
|
|
|
* Fenstergrößer
|
|
|
|
* Fenstertitle
|
|
|
|
*/
|
2023-01-17 22:30:56 +01:00
|
|
|
primaryStage.setTitle("Essen Bestellung im Kindergarten");
|
|
|
|
primaryStage.setScene(new Scene(fxmlStartSeiteLoader,950,480));
|
|
|
|
primaryStage.show();
|
|
|
|
|
2022-11-15 14:26:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
2022-12-13 03:35:52 +01:00
|
|
|
Database.init();
|
2022-12-12 14:03:49 +01:00
|
|
|
Database.createDb();
|
2023-01-17 08:47:09 +01:00
|
|
|
Database.fillDb();
|
|
|
|
//Database.printSampleQuery();
|
2022-12-15 09:26:08 +01:00
|
|
|
//Database.deleteSample();
|
2022-11-15 14:26:06 +01:00
|
|
|
launch();
|
|
|
|
}
|
|
|
|
}
|