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