From 7ee49448ea10f256bfd2bd578a113d7197234a51 Mon Sep 17 00:00:00 2001 From: Komlovski Date: Tue, 16 Jul 2019 11:11:51 +0200 Subject: [PATCH] =?UTF-8?q?Der=20dritte=20commit,=20in=20welcher=20ich=20d?= =?UTF-8?q?ie=20Verwendung=20eines=20JPanels=20gegen=20einen=20NoLayout=20?= =?UTF-8?q?ausgetauscht=20habe,=20sodass=20ich=20die=20Bounds=20eigenst?= =?UTF-8?q?=C3=A4ndig=20festlegen=20darf.=20Die=20JLabels/Textfields=20wur?= =?UTF-8?q?den=20Positionen=20festgelegt.=20Die=20height/weight=20Textfiel?= =?UTF-8?q?ds=20haben=20nun=20einen=20Nutzen.=20Neuer=20JButton=20"BMI=20b?= =?UTF-8?q?erechnen"=20nimmt=20Floats=20von=20den=20Textfields=20und=20gib?= =?UTF-8?q?t=20den=20BMI=20in=20der=20Konsole=20aus.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/misc.xml | 2 +- .idea/workspace.xml | 9 ++++++++- src/FitnessTest_M.java | 2 +- src/Quiz_SpielTest_2.java | 17 +++++++++++++++++ 4 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 src/Quiz_SpielTest_2.java diff --git a/.idea/misc.xml b/.idea/misc.xml index 57d62b3..e0844bc 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9617c18..853aed3 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -191,7 +191,7 @@ - + + + + + + + diff --git a/src/FitnessTest_M.java b/src/FitnessTest_M.java index c6e0b04..0b53a6f 100644 --- a/src/FitnessTest_M.java +++ b/src/FitnessTest_M.java @@ -1,5 +1,5 @@ import javax.swing.*; - +import java.awt.*; import java.awt.BorderLayout; import java.awt.Color; import java.awt.event.ActionEvent; diff --git a/src/Quiz_SpielTest_2.java b/src/Quiz_SpielTest_2.java new file mode 100644 index 0000000..a425aca --- /dev/null +++ b/src/Quiz_SpielTest_2.java @@ -0,0 +1,17 @@ +import static org.junit.jupiter.api.Assertions.*; + +import org.junit.jupiter.api.Test; + +class Quiz_SpielTest_2 { + + @Test + void main() { + + try{ + Main mn = new Main(); + + }catch(Exception e){ + System.out.println(e.toString()); + } + } +} \ No newline at end of file