partialButton = new JToggleButton( controller.getAction(BrowserControl.PARTIAL_NAME)); partialButton.setBorderPainted(true); menuBar.add(partialButton);
    private void createMenuBar()    {        menuBar = new JToolBar();        menuBar.setBorder(null);        menuBar.setRollover(true);        menuBar.setFloatable(false);        JButton button = new JButton(                controller.getAction(BrowserControl.BACKWARD_NAV));        button.setBorderPainted(false);        //menuBar.add(button);        button = new JButton(controller.getAction(BrowserControl.FORWARD_NAV));        //menuBar.add(button);        //menuBar.add(new JSeparator(SwingConstants.VERTICAL));        ButtonGroup group = new ButtonGroup();        JToggleButton b = new JToggleButton();        group.add(b);        //UIUtilities.unifiedButtonLookAndFeel(b);        b.setBorderPainted(true);        b.setSelected(true);        b.setAction(controller.getAction(BrowserControl.SORT));                menuBar.add(b);        b = new JToggleButton(controller.getAction(BrowserControl.SORT_DATE));        //UIUtilities.unifiedButtonLookAndFeel(b);        b.setBorderPainted(true);        group.add(b);        //b.setBorderPainted(false);                menuBar.add(b);                button = new JButton(controller.getAction(BrowserControl.FILTER_MENU));        button.addMouseListener((FilterMenuAction)                             controller.getAction(BrowserControl.FILTER_MENU));        button.setBorderPainted(false);        menuBar.add(button);        menuBar.add(new JSeparator(SwingConstants.VERTICAL));        button = new JButton(controller.getAction(BrowserControl.COLLAPSE));        button.setBorderPainted(false);        menuBar.add(button);    }