dirPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 0));
  public void installComponents(JFileChooser fc)  {    fc.setLayout(new BorderLayout());    topPanel = new JPanel(new BorderLayout());    topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST);    this.controls = new JPanel();    addControlButtons();        JPanel dirPanel = new JPanel(new VerticalMidLayout());    dirPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 0));    directoryModel = createDirectoryComboBoxModel(fc);    directoryComboBox = new JComboBox(directoryModel);    directoryComboBox.setRenderer(createDirectoryComboBoxRenderer(fc));    dirPanel.add(directoryComboBox);    topPanel.add(dirPanel);    topPanel.add(controls, BorderLayout.EAST);    fc.add(topPanel, BorderLayout.NORTH);    fc.add(createList(fc), BorderLayout.CENTER);    JPanel bottomPanel = getBottomPanel();    filterModel = createFilterComboBoxModel();    JComboBox fileFilterCombo = new JComboBox(filterModel);    fileFilterCombo.setRenderer(createFilterComboBoxRenderer());        fileTextField = new JTextField();    JPanel fileNamePanel = new JPanel(new VerticalMidLayout());    fileNamePanel.add(fileTextField);    JPanel row1 = new JPanel(new BorderLayout());    row1.add(new JLabel(this.fileLabel), BorderLayout.WEST);    row1.add(fileNamePanel);    bottomPanel.add(row1);        JPanel filterPanel = new JPanel(new VerticalMidLayout());    filterPanel.add(fileFilterCombo);        JPanel row2 = new JPanel(new BorderLayout());    row2.add(new JLabel(this.filterLabel), BorderLayout.WEST);    row2.add(filterPanel);    bottomPanel.add(row2);    JPanel buttonPanel = new JPanel(new ButtonLayout());    buttonPanel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 0));        approveButton = new JButton(getApproveSelectionAction());    approveButton.setText(getApproveButtonText(fc));    approveButton.setToolTipText(getApproveButtonToolTipText(fc));    approveButton.setMnemonic(getApproveButtonMnemonic(fc));    buttonPanel.add(approveButton);        JButton cancelButton = new JButton(getCancelSelectionAction());    cancelButton.setText(cancelButtonText);    cancelButton.setToolTipText(cancelButtonToolTipText);    cancelButton.setMnemonic(cancelButtonMnemonic);    buttonPanel.add(cancelButton);    bottomPanel.add(buttonPanel);    fc.add(bottomPanel, BorderLayout.SOUTH);  }