fileList.setLayoutOrientation(JList.VERTICAL_WRAP); fileList.setVisibleRowCount(0);
scrollPane = new JScrollPane(fileList);
  protected JPanel createList(JFileChooser fc)  {    JPanel panel = new JPanel(new BorderLayout());    fileList = new JList(getModel());    fileList.setLayoutOrientation(JList.VERTICAL_WRAP);    fileList.setVisibleRowCount(0);    fileList.setCellRenderer(new FileRenderer());    panel.add(new JScrollPane(fileList));    return panel;      }