|
@ -22,6 +22,7 @@ public class MouseGame extends JFrame { |
|
|
public Robot robot = new Robot(); |
|
|
public Robot robot = new Robot(); |
|
|
|
|
|
|
|
|
public Color farbeBeige = new Color(128, 128, 128); |
|
|
public Color farbeBeige = new Color(128, 128, 128); |
|
|
|
|
|
public Color farbeSchwarz = new Color(0, 0, 0); |
|
|
|
|
|
|
|
|
int resetX = 200; |
|
|
int resetX = 200; |
|
|
int resetY = 170; |
|
|
int resetY = 170; |
|
@ -64,7 +65,7 @@ public class MouseGame extends JFrame { |
|
|
|
|
|
|
|
|
setForeground(Color.GRAY); |
|
|
setForeground(Color.GRAY); |
|
|
setBackground(Color.DARK_GRAY); |
|
|
setBackground(Color.DARK_GRAY); |
|
|
contentPane.setForeground(new Color(0, 0, 0)); |
|
|
|
|
|
|
|
|
contentPane.setForeground(farbeSchwarz); |
|
|
contentPane.setBackground(farbeBeige); |
|
|
contentPane.setBackground(farbeBeige); |
|
|
|
|
|
|
|
|
JLabel labelStart = new JLabel("Start"); |
|
|
JLabel labelStart = new JLabel("Start"); |
|
|