public void setZoom(float zoom) {
   getView().setZoom(zoom);
   ((MainToolBar) toolbar).setZoomComboBox(zoom);
   // show text in status bar:
   Object[] messageArguments = {String.valueOf(zoom * 100f)};
   MessageFormat formatter = new MessageFormat(getResourceString("user_defined_zoom_status_bar"));
   getFrame().out(formatter.format(messageArguments));
 }
 public void actionPerformed(ActionEvent e) {
   logger.info("ZoomOutAction actionPerformed");
   ((MainToolBar) toolbar).zoomOut();
 }