int newOffsetX=e.getX() - pressX, newOffsetY=e.getY() - pressY;   inner.setLocation((int) (newOffsetX - newOffsetX%(currentMap.getTileWidth()*zoom)), (int) (newOffsetY - newOffsetY%(currentMap.getTileHeight()*zoom)));
int newOffsetX=offsetX + (e.getX() - pressX), newOffsetY=offsetY + (e.getY() - pressY);
	public void mouseDragged(MouseEvent e) {				int newOffsetX=e.getX() - pressX, newOffsetY=e.getY() - pressY;				//snap!		inner.setLocation((int) (newOffsetX - newOffsetX%(currentMap.getTileWidth()*zoom)), (int) (newOffsetY - newOffsetY%(currentMap.getTileHeight()*zoom)));				newOffsetX /= (currentMap.getTileWidth()*zoom);		newOffsetY /= (currentMap.getTileHeight()*zoom);				if(newOffsetX != offsetX) {					firePropertyChange("offsetX", offsetX, newOffsetX);			offsetX = newOffsetX;		}				if(newOffsetY != offsetY) {					firePropertyChange("offsetY", offsetY, newOffsetY);			offsetY = newOffsetY;		}	}