|
|
@ -21,6 +21,8 @@ public class MouseGame extends JFrame { |
|
|
|
private JPanel contentPane; |
|
|
|
public Robot robot = new Robot(); |
|
|
|
|
|
|
|
public Color farbeBeige = new Color(128, 128, 128); |
|
|
|
|
|
|
|
int resetX = 200; |
|
|
|
int resetY = 170; |
|
|
|
|
|
|
@ -63,7 +65,7 @@ public class MouseGame extends JFrame { |
|
|
|
setForeground(Color.GRAY); |
|
|
|
setBackground(Color.DARK_GRAY); |
|
|
|
contentPane.setForeground(new Color(0, 0, 0)); |
|
|
|
contentPane.setBackground(new Color(128, 128, 128)); |
|
|
|
contentPane.setBackground(farbeBeige); |
|
|
|
|
|
|
|
JLabel labelStart = new JLabel("Start"); |
|
|
|
labelStart.setHorizontalAlignment(SwingConstants.CENTER); |
|
|
|