public void mouseMoved(MouseEvent arg0) {
		// System.out.println("Mouse has moved");
		// ustawia na powrot myszke na srodku okna, zeby caly czas byly ruchy
		// myszki relatywne
		// pobiera dane z MainWindow, ale skoro event wystapil to okno juz na
		// pewno jest
		// utworzone
		int centerX = Application.getWindow().getWidth() / 2
				+ Application.getWindow().getXposition();
		int centerY = Application.getWindow().getHeight() / 2
				+ Application.getWindow().getYposition();
		double xChange = arg0.getXOnScreen() - centerX;
		double yChange = centerY - arg0.getYOnScreen();
		if (xChange != 0)
			_sortedEvents.add(new InputEvent(MouseEvent.MOUSE_MOVED, xChange,
					System.currentTimeMillis()));
		if (yChange != 0)
			_sortedEvents.add(new InputEvent(MouseEvent.MOUSE_DRAGGED, yChange,
					System.currentTimeMillis()));
		try {
			Robot robot = new Robot();
			robot.mouseMove(centerX, centerY);
		} catch (AWTException e) {
			// TODO Auto-generated catch block
		}
	}