Bestellungsverarbeitung
This commit is contained in:
parent
aecf521d96
commit
d3f08d30a5
@ -0,0 +1,23 @@
|
||||
[Felix Düsterhaus;Detmolderstrasse 101,33102 Paderborn;1234567;Lisa;12345678A, Hauptgericht: Pommes
|
||||
mit Kroketten und Gemüse
|
||||
(g,2,3) Dessert: Vegane Waffel
|
||||
mit Puderzucker
|
||||
(g,b,k), Hauptgericht: Bratkartoffeln
|
||||
mit veganer Bratensoße
|
||||
(b,2,3) Dessert: Pudding
|
||||
mit Schokostreuseln
|
||||
(b,2)]
|
||||
[Felix Düsterhaus;Detmolderstrasse 101,33102 Paderborn;1234567;Lisa;12345678A, Hauptgericht: Rote Linsen Curry
|
||||
mit Süßkartoffeln
|
||||
(g,b,2,3) Dessert: Vegane Pancakes
|
||||
mit Ahornsirup
|
||||
(g,b,3)]
|
||||
[Felix Düsterhaus;Detmolderstrasse 101,33102 Paderborn;1234567;Lisa;12345678A, Hauptgericht: Rote Linsen Curry
|
||||
mit Süßkartoffeln
|
||||
(g,b,2,3) Dessert: Vegane Pancakes
|
||||
mit Ahornsirup
|
||||
(g,b,3), Hauptgericht: Bratkartoffeln
|
||||
mit veganer Bratensoße
|
||||
(b,2,3) Dessert: Pudding
|
||||
mit Schokostreuseln
|
||||
(b,2)]
|
@ -1,5 +1,6 @@
|
||||
package com.example.vpr_javafx;
|
||||
|
||||
import javafx.application.Platform;
|
||||
import javafx.collections.FXCollections;
|
||||
import javafx.collections.ObservableList;
|
||||
import javafx.event.ActionEvent;
|
||||
@ -297,7 +298,7 @@ public class HelloController {
|
||||
protected void ToRegistration(ActionEvent event) throws IOException
|
||||
{
|
||||
Parent root = FXMLLoader.load(getClass().getResource("Registration-view.fxml"));
|
||||
Stage stage = (Stage) ((Node) event.getSource()).getScene().getWindow();
|
||||
Stage stage = new Stage();
|
||||
Scene scene = new Scene(root);
|
||||
stage.setScene(scene);
|
||||
stage.show();
|
||||
@ -319,12 +320,6 @@ public class HelloController {
|
||||
{
|
||||
try (FileWriter writer = new FileWriter("user.txt", true)){
|
||||
writer.write(tfName.getText() + ";" + tfStreet.getText() + " " + tfHouseNumber.getText() + "," + tfPostalCode.getText() + " " + tfCity.getText() + ";" + tfPhone.getText() + ";" + tfChild.getText() + ";" + pfPassword.getText() + System.lineSeparator());
|
||||
|
||||
Parent root = FXMLLoader.load(getClass().getResource("MenuOverview-view.fxml"));
|
||||
Stage stage = (Stage) ((Node) event.getSource()).getScene().getWindow();
|
||||
Scene scene = new Scene(root);
|
||||
stage.setScene(scene);
|
||||
stage.show();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
|
Binary file not shown.
5
user.txt
5
user.txt
@ -1,2 +1,3 @@
|
||||
Felix Düsterhaus;Sabine Gubitz;Detmolderstrasse 101,33102 Paderborn;1234567;Lisa,Peter;12345678A
|
||||
Kevin Pfannenstiel;Marlene Pfannenstiel;Fürstenallee 30, 33102 Paderborn;7654321;Anton;12345678B
|
||||
Felix Düsterhaus;Detmolderstrasse 101,33102 Paderborn;1234567;Lisa;12345678A
|
||||
Kevin Pfannenstiel;Fürstenallee 30, 33102 Paderborn;7654321;Anton;12345678B
|
||||
Max Muster;Fürstenallee 5,33102 Paderborn;123456789;Klaus Muster;12345abc
|
||||
|
Loading…
Reference in New Issue
Block a user