|
@ -180,7 +180,7 @@ public class SnakeGame extends JFrame { |
|
|
cP.add(panel11); |
|
|
cP.add(panel11); |
|
|
|
|
|
|
|
|
panel12 = new JPanel(); |
|
|
panel12 = new JPanel(); |
|
|
panel12.setBounds(xCords6, yCords2, hoeheP2, 100); |
|
|
|
|
|
|
|
|
panel12.setBounds(xCords6, yCords2, hoeheP2, breiteP2); |
|
|
panel12.setVisible(true); |
|
|
panel12.setVisible(true); |
|
|
panel12.setBackground(Color.BLACK); |
|
|
panel12.setBackground(Color.BLACK); |
|
|
|
|
|
|
|
|