toolBar.add(new TButton(zoomInAction));
toolBar.add(new TButton(zoomOutAction));
toolBar.add(Box.createRigidArea(new Dimension(5, 5)));
toolBar.add(Box.createGlue());
brushPreview = new BrushPreview();
mapEventAdapter.addListener(brushPreview);
toolBar.add(brushPreview);
return toolBar;
}