|
@ -19,7 +19,7 @@ public class MouseGame extends JFrame { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private JPanel contentPane; |
|
|
private JPanel contentPane; |
|
|
Robot robot = new Robot(); |
|
|
|
|
|
|
|
|
public Robot robot = new Robot(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -45,7 +45,7 @@ public class MouseGame extends JFrame { |
|
|
//Fensterrahmen Haupt Layout |
|
|
//Fensterrahmen Haupt Layout |
|
|
setTitle("Maze Game"); |
|
|
setTitle("Maze Game"); |
|
|
setBounds(100, 100, 900, 650); |
|
|
setBounds(100, 100, 900, 650); |
|
|
|
|
|
|
|
|
|
|
|
robot.mouseMove(200, 170); |
|
|
|
|
|
|
|
|
contentPane = new JPanel(); |
|
|
contentPane = new JPanel(); |
|
|
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); |
|
|
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); |
|
|