final JCheckBoxMenuItem wireframe = new JCheckBoxMenuItem(wireFrameToggleAction);
viewMenu.add(wireframe);
wireframe.setAccelerator(wireFrameToggleAction.getShortcut().getKeyStroke());
wireFrameToggleAction.addButtonModel(wireframe.getModel());
viewMenu.add(new MapPaintMenu());
viewMenu.addSeparator();
add(viewMenu, new ZoomInAction());
add(viewMenu, new ZoomOutAction());
viewMenu.addSeparator();
for (String mode : AutoScaleAction.MODES) {