Graphics gg = bg.create(); gg.translate(-bufferRect.x, -bufferRect.y); mapView.paintTile(gg, x, y); gg.dispose();
bg.translate(-bufferRect.x, -bufferRect.y); mapView.paintTile(bg, x, y); bg.translate(bufferRect.x, bufferRect.y);
    public void refreshTile(int x, int y) {        Graphics gg = bg.create();        gg.translate(-bufferRect.x, -bufferRect.y);        mapView.paintTile(gg, x, y);	gg.dispose();    }