kommentar

This commit is contained in:
zhe 2021-11-17 19:32:01 +01:00
parent c4a4708ab1
commit e451450be6

View File

@ -12,7 +12,7 @@ public class GameGui {
JPanel panel = new JPanel();
panel.setBorder(BorderFactory.createMatteBorder(400, 10, 10, 10,Color.black));
/*
//Label
JLabel label = new JLabel(" Ihr Name:");
panel.add(label);
@ -35,7 +35,7 @@ public class GameGui {
panel.add(button1);
panel.add(button2);
panel.add(button3);
*/
frame = new JFrame("Tetris");
frame.add(panel,BorderLayout.EAST);
frame.setSize(width,height);