b.setBorderPainted(false);
setButtonProperties(b);
    private JToolBar createEditBar()    {        JToolBar bar = new JToolBar();        bar.setFloatable(false);        bar.setRollover(true);        bar.setBorder(null);        JButton b = new JButton(controller.getAction(                                    TreeViewerControl.ANNOTATE));        b.setBorderPainted(false);        bar.add(b);        TreeViewerAction a = controller.getAction(TreeViewerControl.CLASSIFIER);        b = new JButton(a);        b.addMouseListener((ClassifierAction) a);        b.setBorderPainted(false);        bar.add(b);        b = new JButton(controller.getAction(TreeViewerControl.PROPERTIES));        b.setBorderPainted(false);        bar.add(b);        bar.add(new JSeparator(SwingConstants.VERTICAL));        return bar;    }