public void mouseDragged(MouseEvent arg0) {
		// MOUSE_MOVED sluzy do przesuwania wzgledem x, a dragged y
		boolean isChanged = false;
		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()));
			isChanged = true;
		}
		if (yChange != 0) {
			_sortedEvents.add(new InputEvent(MouseEvent.MOUSE_DRAGGED, yChange,
					System.currentTimeMillis()));
			isChanged = true;
		}
		if (isChanged) {
			try {
				Robot robot = new Robot();
				robot.mouseMove(centerX, centerY);
			} catch (AWTException e) {
				// TODO Auto-generated catch block
			}
		}

	}