| GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
Graphics2D g = (Graphics2D) ge.createGraphics(bufferedMapImage);
g.setClip(0, 0, w, h);
Border border = mb.getBorder();
mb.setBorder(null);
mb.paintAll(g);
mb.setBorder(border);
oX = x;
oY = y;
|