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/Tetris/GameGui.java b/src/Tetris/GameGui.java new file mode 100644 index 0000000..f425a35 --- /dev/null +++ b/src/Tetris/GameGui.java @@ -0,0 +1,19 @@ +package Tetris; + +import javax.swing.JFrame; + +public class GameGui { + public static final int width= 445, height =629; + private JFrame window; + + public GameGui(){ + window = new JFrame("Tetris"); + window.setSize(width,height); + window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + window.setResizable(false); + window.setVisible(true); + } + public static void main(String [] args){ + new GameGui(); + } +} diff --git a/src/test.java b/src/test.java deleted file mode 100644 index 2eca3d9..0000000 --- a/src/test.java +++ /dev/null @@ -1,8 +0,0 @@ -public class test{ - public static void main(String[] args) { - - System.out.println("hallo"); - System.out.println("klappt"); - System.out.println("klappt!!"); - } -} \ No newline at end of file