Compare commits
No commits in common. "8ce8c027c86e3c88a2376da90a674b271959b621" and "438d18e378d5b4e4ca85d907006a4c2934d21bef" have entirely different histories.
8ce8c027c8
...
438d18e378
@ -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,7 +25,7 @@ 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();
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
package com.bib.essensbestellungsverwaltung;
|
|
||||||
|
|
||||||
public class MenueController {
|
|
||||||
}
|
|
@ -1,27 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
|
|
||||||
<?import javafx.geometry.Insets?>
|
|
||||||
<?import javafx.scene.control.Button?>
|
|
||||||
<?import javafx.scene.control.Label?>
|
|
||||||
<?import javafx.scene.control.PasswordField?>
|
|
||||||
<?import javafx.scene.control.TextField?>
|
|
||||||
<?import javafx.scene.layout.GridPane?>
|
|
||||||
|
|
||||||
<?import javafx.scene.layout.AnchorPane?>
|
|
||||||
<AnchorPane>
|
|
||||||
<GridPane hgap="10.0" vgap="10.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1"
|
|
||||||
fx:controller="com.bib.essensbestellungsverwaltung.HelloController">
|
|
||||||
<padding>
|
|
||||||
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
|
|
||||||
</padding>
|
|
||||||
<Label text="Bitte geben Sie Ihre Anmeldedaten ein." GridPane.columnIndex="0" GridPane.columnSpan="2" GridPane.rowIndex="0" />
|
|
||||||
<Label text="Benutzername:" GridPane.columnIndex="0" GridPane.rowIndex="1" />
|
|
||||||
<TextField fx:id="unsernameEingabe" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
|
||||||
<Label text="Passwort:" GridPane.columnIndex="0" GridPane.rowIndex="2" />
|
|
||||||
<PasswordField fx:id="passwortEingabe" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
|
||||||
<Button prefHeight="26.0" prefWidth="80.0" text="Login" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
|
||||||
<Label fx:id="lblAusgabe" GridPane.columnSpan="2" GridPane.rowIndex="5" />
|
|
||||||
<Button mnemonicParsing="false" prefHeight="26.0" prefWidth="80.0" style="-fx-background-color: transparent;" text="Registrieren" underline="true" GridPane.rowIndex="4" />
|
|
||||||
</GridPane>
|
|
||||||
</AnchorPane>
|
|
||||||
|
|
@ -1,147 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
|
|
||||||
<?import javafx.geometry.Insets?>
|
|
||||||
<?import javafx.scene.control.Button?>
|
|
||||||
<?import javafx.scene.control.Label?>
|
|
||||||
<?import javafx.scene.layout.AnchorPane?>
|
|
||||||
<?import javafx.scene.layout.VBox?>
|
|
||||||
<?import javafx.scene.text.Font?>
|
|
||||||
|
|
||||||
<AnchorPane prefHeight="536.0" prefWidth="929.0" style="-fx-background-color: lightblue;" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.MenueController">
|
|
||||||
<children>
|
|
||||||
<Label alignment="CENTER" layoutX="14.0" layoutY="14.0" prefHeight="35.0" prefWidth="895.0" text="Essenbestellung">
|
|
||||||
<font>
|
|
||||||
<Font size="28.0"/>
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
<Button alignment="CENTER" layoutX="868.0" layoutY="61.0" mnemonicParsing="false" style="-fx-background-color: white;" text="Login" />
|
|
||||||
<VBox layoutX="14.0" layoutY="100.0" prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
|
|
||||||
<children>
|
|
||||||
<Label alignment="CENTER" contentDisplay="TOP" prefHeight="23.0" prefWidth="196.0" style="-fx-background-color: lightdarkblue;" text="Montag" textAlignment="CENTER">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets bottom="10.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
<Label prefHeight="18.0" prefWidth="180.0" text="Hauptgericht" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Button">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets />
|
|
||||||
</VBox.margin>
|
|
||||||
</Button>
|
|
||||||
<Label prefHeight="18.0" prefWidth="174.0" text="Dessert">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="10.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Button" />
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
<VBox layoutX="194.0" layoutY="100.0" prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
|
|
||||||
<children>
|
|
||||||
<Label alignment="CENTER" prefHeight="18.0" prefWidth="210.0" text="Dienstag">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
<Label prefHeight="18.0" prefWidth="182.0" text="Hauptgericht">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="10.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Button" />
|
|
||||||
<Label prefHeight="18.0" prefWidth="183.0" text="Dessert">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="10.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="170.0" text="Button" />
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
<VBox layoutX="554.0" layoutY="100.0" prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
|
|
||||||
<children>
|
|
||||||
<Label alignment="CENTER" prefHeight="18.0" prefWidth="214.0" text="Donnerstag">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
<Label prefHeight="18.0" prefWidth="178.0" text="Hauptgericht">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="10.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Label prefHeight="18.0" prefWidth="186.0" text="Dessert">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="10.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
<VBox layoutX="374.0" layoutY="100.0" prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
|
|
||||||
<children>
|
|
||||||
<Label alignment="CENTER" prefHeight="18.0" prefWidth="212.0" text="Mittwoch">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
<Label prefHeight="18.0" prefWidth="176.0" text="Hauptgericht">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="10.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Label prefHeight="18.0" prefWidth="177.0" text="Dessert">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="10.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
<VBox layoutX="734.0" layoutY="100.0" prefHeight="350.0" prefWidth="180.0" style="-fx-background-color: transparent; -fx-padding: 5;">
|
|
||||||
<children>
|
|
||||||
<Label alignment="CENTER" prefHeight="18.0" prefWidth="200.0" text="Freitag">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
<Label prefHeight="18.0" prefWidth="190.0" text="Hauptgericht">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="10.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Label prefHeight="18.0" prefWidth="190.0" text="Dessert">
|
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="10.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Label>
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="78.0" prefWidth="218.0" text="Button" />
|
|
||||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="20.0" prefWidth="218.0" text="Button" />
|
|
||||||
</children>
|
|
||||||
</VBox>
|
|
||||||
</children>
|
|
||||||
</AnchorPane>
|
|
Loading…
x
Reference in New Issue
Block a user