|
@ -24,6 +24,7 @@ public class MouseGame extends JFrame { |
|
|
int resetX = 200; |
|
|
int resetX = 200; |
|
|
int resetY = 170; |
|
|
int resetY = 170; |
|
|
int breite = 900; |
|
|
int breite = 900; |
|
|
|
|
|
int hoehe = 650; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Launch the application. |
|
|
* Launch the application. |
|
@ -47,7 +48,7 @@ public class MouseGame extends JFrame { |
|
|
|
|
|
|
|
|
//Fensterrahmen Haupt Layout |
|
|
//Fensterrahmen Haupt Layout |
|
|
setTitle("Mouse Game"); |
|
|
setTitle("Mouse Game"); |
|
|
setBounds(100, 100, breite, 650); |
|
|
|
|
|
|
|
|
setBounds(100, 100, breite, hoehe); |
|
|
robot.mouseMove(resetX, resetY); |
|
|
robot.mouseMove(resetX, resetY); |
|
|
|
|
|
|
|
|
contentPane = new JPanel(); |
|
|
contentPane = new JPanel(); |
|
|