|
|
@ -103,7 +103,7 @@ public class SnakeGame extends JFrame { |
|
|
|
cP.setLayout(null); |
|
|
|
|
|
|
|
panel1 = new JPanel(); |
|
|
|
panel1.setBounds(xCords1, yCords1, 100, 100); |
|
|
|
panel1.setBounds(xCords1, yCords1, hoeheP1, 100); |
|
|
|
panel1.setVisible(true); |
|
|
|
panel1.setBackground(Color.BLACK); |
|
|
|
|
|
|
|