fixed the mess

This commit is contained in:
Malte Schulze Hobeling 2023-01-17 08:47:09 +01:00
parent 074107752d
commit e245233a23

View File

@ -11,8 +11,13 @@ public class HelloApplication extends Application {
@Override @Override
public void start(Stage stage) throws IOException { public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml")); FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 320, 240); /**
stage.setTitle("Hello World! von Richard"); * @autor: Reshad Meher
* Fenstergrößer
* Fenstertitle
*/
Scene scene = new Scene(fxmlLoader.load(), 480, 280);
stage.setTitle("Essen Bestellung im Kindergarten");
stage.setScene(scene); stage.setScene(scene);
stage.show(); stage.show();
} }
@ -20,8 +25,8 @@ public class HelloApplication extends Application {
public static void main(String[] args) { public static void main(String[] args) {
Database.init(); Database.init();
Database.createDb(); Database.createDb();
Database.fillSampleDb(); Database.fillDb();
Database.printSampleQuery(); //Database.printSampleQuery();
//Database.deleteSample(); //Database.deleteSample();
launch(); launch();
} }