super(label);
putValue(Action.SHORT_DESCRIPTION,label);
}
private void createJpeg(String location, String format, MapViewer currentMap, Dimension size)
{
<BUG>BufferedImage mapImage = new BufferedImage(size.width, size.height, BufferedImage.TYPE_INT_RGB);
Graphics g = mapImage.getGraphics();

g.setClip(0, 0, size.width, size.height);
currentMap.paintComponent(g);
g.setColor(Color.black);
g.drawRect(0, 0, size.width - 1, size.height - 1);</BUG>
try

super(label);
putValue(Action.SHORT_DESCRIPTION,label);
}
private void createJpeg(String location, String format, MapViewer currentMap, Dimension size)
