28 lines
826 B
Java
Raw Normal View History

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 {
@Override
public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 320, 240);
2022-11-24 15:11:43 +01:00
stage.setTitle("Hello World! von Richard");
2022-11-15 14:26:06 +01:00
stage.setScene(scene);
stage.show();
}
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();
Database.fillSampleDb();
Database.printSampleQuery();
Database.deleteSample();
2022-11-15 14:26:06 +01:00
launch();
}
}