JToggleButton listButton = new JToggleButton(); listButton.setIcon(this.listViewIcon);
JToggleButton listButton = new JToggleButton(this.listViewIcon);
  protected void addControlButtons()  {    JButton upButton = new JButton(getChangeToParentDirectoryAction());    upButton.setText(null);    upButton.setIcon(this.upFolderIcon);    upButton.setMargin(new Insets(0, 0, 0, 0));    controls.add(upButton);        JButton homeButton = new JButton(getGoHomeAction());    homeButton.setText(null);    homeButton.setIcon(this.homeFolderIcon);    homeButton.setMargin(new Insets(0, 0, 0, 0));    controls.add(homeButton);        JButton newFolderButton = new JButton(getNewFolderAction());    newFolderButton.setText(null);    newFolderButton.setIcon(this.newFolderIcon);    newFolderButton.setMargin(new Insets(0, 0, 0, 0));    controls.add(newFolderButton);        JToggleButton listButton = new JToggleButton();    listButton.setIcon(this.listViewIcon);    listButton.setMargin(new Insets(0, 0, 0, 0));    // FIXME: this button needs an action that handles a click    controls.add(listButton);        JToggleButton detailButton = new JToggleButton(this.detailsViewIcon);    detailButton.setMargin(new Insets(0, 0, 0, 0));    // FIXME: this button needs an action that handles a click    controls.add(detailButton);    ButtonGroup buttonGroup = new ButtonGroup();    buttonGroup.add(listButton);    buttonGroup.add(detailButton);  }