From 84ded9963a6b02e7e626b0e8175185e67e4e7588 Mon Sep 17 00:00:00 2001 From: pbd2h21avi Date: Fri, 16 Dec 2022 08:37:51 +0100 Subject: [PATCH] toString() angepasst --- .idea/uiDesigner.xml | 124 +++++++++++++++++++++++++++++++++++++++++++ src/Menue.java | 4 +- 2 files changed, 126 insertions(+), 2 deletions(-) create mode 100644 .idea/uiDesigner.xml diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml new file mode 100644 index 0000000..e96534f --- /dev/null +++ b/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Menue.java b/src/Menue.java index b19ea8d..8b94421 100644 --- a/src/Menue.java +++ b/src/Menue.java @@ -220,8 +220,8 @@ public class Menue { @Override public String toString() { - return "Montag\n" + "\t\t\t\t" + dish + "\n" + sideDish - + "Allergene" + "\n" + getTyp(); + return "Montag" + "\t\t\t\t" + dish + "\n" + date + "\t\t\t" + sideDish + + "\n" + "\t\t\t\t\t" + "Allergene" + "\n " + "\t\t\t\t\t" + getTyp() + "\n"; } }