@Override
	public void mousePressed(MouseEvent arg0) {
		if(arg0.getButton() == 2){
			if(!middlemouseDown){
				middlemouseDown = true;
				System.out.println("MMB Down");
				PreviousMousePosition[0] = arg0.getX();
				PreviousMousePosition[1] = arg0.getY();
			}
			
		}
		
	}