@Override
	public void mouseDragged(MouseEvent me) {
		if(middlemouseDown == true){
			
			float CurrentX = me.getX();
			float CurrentY = me.getY();
			
			MouseXDelta = PreviousMousePosition[0] - CurrentX;
			MouseYDelta = PreviousMousePosition[1] - CurrentY;
			//System.out.println(MouseXDelta);
			//System.out.println(MouseYDelta);
			
			PreviousMousePosition[0] = CurrentX;
			PreviousMousePosition[1] = CurrentY;
		}
		
	}