screenWidth * MapEditor.tileWidth + 2, screenHeight * MapEditor.tileHeight + 2));
screenWidth * MapEditor.tileWidth , screenHeight * MapEditor.tileHeight));
		public MapGraphics(HackModule hm, int screenWidth, int screenHeight, int mode, boolean grid,				boolean spriteBoxes, boolean centered, int ppu, boolean makeFields)		{			this.hm = hm;			this.screenWidth = screenWidth;			this.screenHeight = screenHeight;			this.mode = mode;			this.grid = grid;			this.spriteBoxes = spriteBoxes;			this.centered = centered;			this.ppu = ppu;						if (makeFields)			{				xField = HackModule.createSizedJTextField(						Integer.toString(MapEditor.widthInSectors * MapEditor.sectorWidth * (MapEditor.tileWidth / ppu)).length(),						true);				xField.setText(Integer.toString(getMapX()));				xField.getDocument().addDocumentListener(this);				yField = HackModule.createSizedJTextField(						Integer.toString(MapEditor.heightInSectors * MapEditor.sectorHeight * (MapEditor.tileHeight / ppu)).length(),						true);				yField.setText(Integer.toString(getMapY()));				yField.getDocument().addDocumentListener(this);			}						setPreferredSize(new Dimension(					screenWidth * MapEditor.tileWidth + 2, screenHeight * MapEditor.tileHeight + 2));			addMouseListener(this);			addMouseMotionListener(this);			addMouseWheelListener(this);		}