diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 0000000..6df95bc
--- /dev/null
+++ b/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/google-java-format.xml b/.idea/google-java-format.xml
new file mode 100644
index 0000000..8b57f45
--- /dev/null
+++ b/.idea/google-java-format.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 0548357..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 990de47..fb794ff 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -2,9 +2,12 @@
+
+
-
+
+
@@ -19,14 +22,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
@@ -35,12 +48,10 @@
-
-
+
+
-
-
@@ -93,9 +104,9 @@
-
-
-
+
+
+
@@ -105,6 +116,7 @@
+
@@ -126,7 +138,6 @@
-
@@ -142,7 +153,7 @@
-
+
@@ -386,24 +397,24 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -411,7 +422,7 @@
-
+
@@ -474,59 +485,48 @@
-
+
+
+
+
+
+
+
-
-
+
+
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
+
+
+
+
+
-
+
-
-
+
+
-
-
-
+
-
-
+
+
-
-
diff --git a/src/Main.java b/src/Main.java
index 9526d4d..5bf9ec8 100644
--- a/src/Main.java
+++ b/src/Main.java
@@ -129,7 +129,7 @@ public class Main {
JOptionPane.showMessageDialog(fr, "Aufruf von Michaels Tools");
fr.setVisible(false);
- Quiz qwqqq = new Quiz();
+ //Quiz qwqqq = new Quiz();
}catch (Exception ex) {
diff --git a/src/Quiz.form b/src/Quiz.form
deleted file mode 100644
index fe9d8de..0000000
--- a/src/Quiz.form
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
diff --git a/src/Quiz.java b/src/Quiz.java
deleted file mode 100644
index 07800d1..0000000
--- a/src/Quiz.java
+++ /dev/null
@@ -1,164 +0,0 @@
-import java.awt.BorderLayout;
-import java.awt.Color;
-import javax.swing.*;
-import java.awt.*;
-import java.awt.event.*;
-import javax.swing.JFrame;
-import javax.swing.JPanel;
-import java.util.Random;
-import javax.swing.JOptionPane;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
-public class Quiz extends JFrame {
-
-
-
-
-
- JFrame fr = null;
- JPanel contentPane = null;
- JButton button1 = null;
-
- JTextField j1 = null;
- JLabel label1 = null;
- JLabel label2 = null;
- JLabel label3 = null;
- JLabel frage1 = null;
- JLabel frage1antworten1 = null;
- JLabel frage2 = null;
- JLabel frage1antworten2 = null;
-
- JLabel html1 = null;
- JMenuItem menuItem1 = null;
- JMenuItem menuItem2 = null;
-
- JMenuBar bar =null;
- JMenu mF= null;
- JMenu mH = null;
-
- int button1warsovielmalgedrückt = 0;
-
- public Quiz() {
-
- this.fr = new JFrame("GUI");
- this.fr.setSize(430, 630);
-
- this.contentPane = new JPanel();
- this.fr.setContentPane(this.contentPane);
-
- this.bar = new JMenuBar();
- this.fr.setJMenuBar(bar);
- this.mF = new JMenu("File");
- this.mH = new JMenu("Help");
- this.bar.add(mF);
- this.bar.add(mH);
-
- this.menuItem1 = new JMenuItem("Exit");
- this.mF.add(menuItem1);
-
- this.menuItem1.addActionListener(new CloseListener());
-
- this.menuItem2 = new JMenuItem("Info");
- this.mH.add(menuItem2);
-
- this.menuItem2.addActionListener(new CloseListener3());
-
- this.label1 = new JLabel("Herzlich Willkommen zu unserem Quiz!");
- this.contentPane.add(label1);
-
-
-
-
- this.label1.setForeground(Color.BLUE );
-
-
-
- this.label2 = new JLabel("Beantworten Sie uns 5 kurze Fragen und gewinnen Sie 10000 Euro!");
- ;
- this.contentPane.add(label2);
-
-
-
-
- this.frage1 = new JLabel("Frage 1 lautet: Was gehört nicht zum Test Driven Developement?");
-
- this.contentPane.add(frage1);
-
- this.frage1antworten1 = new JLabel("A: Refactoring B: Transformation C: Clean Code");
- this.contentPane.add(frage1antworten1);
-
- this.label3 = new JLabel("Antwort:");
- this.contentPane.add(label3);
- this.j1 = new JTextField("", 20);
- this.contentPane.add(j1);
- this.j1.setSize(250,30);;
-
-
-
-
-
- this.button1 = new JButton("Prüfen");
- this.contentPane.add(button1);
- this.button1.addActionListener(new CloseListener2());
-
-
- this.fr.setVisible(true);
-
- }
-
- public static void main(String[] args) {
- Quiz g = new Quiz();
-
- }
-
- private class CloseListener implements ActionListener{
- @Override
- public void actionPerformed(ActionEvent e) {
-
- System.exit(0);
- }
- }
-
- public class CloseListener2 implements ActionListener{
- @Override
- public void actionPerformed(ActionEvent a) {
- button1warsovielmalgedrückt++;
- if(j1.getText().startsWith("C") || j1.getText().startsWith("c") ) {
- System.out.println("ja");
- j1.setText("Richtig ! Gewinn 1000 Euro");
- JOptionPane.showMessageDialog(null,
- "Herzlichen Glückwunsch , Sie sind nicht so dumm, wie ich dachte !",
- "Eine Nachricht",
- JOptionPane.WARNING_MESSAGE);
-
- button1warsovielmalgedrückt++;
- }else{
- System.out.println("nein");
- j1.setText("Falsch geantwortet! ");
- }
-
-
-
- }
-
- }
-
- public class CloseListener3 implements ActionListener{
- @Override
- public void actionPerformed(ActionEvent a) {
- System.out.println("Hier sollen Sie Info bekommen");
- }
- }
-
- }
-
-
-
-
-
-
-
-
-
-
-