private JPanel createCommandBar() {
    GridLayout gridLayout = new GridLayout(1, 1);

    JPanel panel = new JPanel();

    panel.setMaximumSize(new Dimension(10000, 40));
    panel.setPreferredSize(new Dimension(600, 40));
    panel.setMinimumSize(new Dimension(1, 40));

    panel.setLayout(gridLayout);
    panel.add(buttonFactory.createButton(CopyAction.class));
    panel.add(buttonFactory.createButton(MoveAction.class));
    panel.add(buttonFactory.createButton(MakeDirAction.class));
    panel.add(buttonFactory.createButton(DeleteAction.class));
    panel.add(buttonFactory.createButton(RenameAction.class));

    return panel;
  }
  private JToolBar createToolBar() {
    JToolBar toolbar = new JToolBar();
    toolbar.setFloatable(false);

    JButton buttonRefresh =
        buttonFactory.createIconButton(
            RefreshAction.class,
            new ImageIcon(
                this.getClass().getClassLoader().getResource("images/arrow_refresh.png")));
    JButton buttonServerManager =
        buttonFactory.createIconButton(
            ShowSiteDialogAction.class,
            new ImageIcon(
                this.getClass().getClassLoader().getResource("images/server_connect.png")));

    toolbar.add(buttonRefresh);
    toolbar.add(buttonServerManager);
    return toolbar;
  }