public void mouseDragged(MouseEvent e)
		 {
			 int x = e.getX();
			 int y = e.getY();
			 
			 if (isDrawing){
				 System.out.println("Dragging at (" + x + "," + y);
				 if (Math.abs(lastX - x) == 0)
				 {
						lineUpperX.add(x + 5);
						lineUpperY.add(y);
						lineBottomX.add(x - 5);
						lineBottomY.add(y);					 
				 }
				 else {
					lineUpperX.add(x);
					lineUpperY.add(y - 5);
					lineBottomX.add(x);
					lineBottomY.add(y + 5);
				 }	
			 }
			 
		     for(int i=0; i < movingObjs.size(); i++)
		     {
		    	 Location loc = movingObjs.get(i);
		    	 loc.setX(loc.getX() + x - lastX);
		    	 loc.setY(loc.getY() + y - lastY);
		     }
		     lastX = x;
		     lastY = y;
		     drawingPanel.repaint();
		 }