2023-01-18 22:32:38 +01:00
|
|
|
/**
|
|
|
|
* @autor: Reshad Meher
|
|
|
|
* Fenstergrößer
|
|
|
|
* Fenstertitle
|
|
|
|
*/
|
2022-11-15 14:26:06 +01:00
|
|
|
package com.bib.essensbestellungsverwaltung;
|
|
|
|
|
|
|
|
import javafx.application.Application;
|
|
|
|
import javafx.fxml.FXMLLoader;
|
|
|
|
import javafx.scene.Scene;
|
|
|
|
import javafx.stage.Stage;
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
|
|
|
public class HelloApplication extends Application {
|
2023-01-18 22:32:38 +01:00
|
|
|
public static Stage primary;
|
2022-11-15 14:26:06 +01:00
|
|
|
@Override
|
2023-01-18 02:41:25 +01:00
|
|
|
public void start(Stage stage) throws IOException {
|
2023-01-18 22:32:38 +01:00
|
|
|
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("login-view.fxml"));
|
|
|
|
Scene scene = new Scene(fxmlLoader.load(), 950,480);
|
|
|
|
//stage = primary;
|
2023-01-18 02:41:25 +01:00
|
|
|
stage.setTitle("Essen Bestellung im Kindergarten");
|
|
|
|
stage.setScene(scene);
|
|
|
|
stage.show();
|
2023-01-18 22:32:38 +01:00
|
|
|
|
|
|
|
|
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();
|
|
|
|
}
|
|
|
|
}
|