setOpaque(true);
    public Component getListCellRendererComponent(JList list, Object value,        int index, boolean isSelected, boolean cellHasFocus)    {      FileView v = getFileView(getFileChooser());      File f = (File) value;      setText(v.getName(f));      setIcon(v.getIcon(f));      if (isSelected)        {          setBackground(list.getSelectionBackground());          setForeground(list.getSelectionForeground());        }      else        {          setBackground(list.getBackground());          setForeground(list.getForeground());        }      setEnabled(list.isEnabled());      setFont(list.getFont());      if (cellHasFocus)        setBorder(UIManager.getBorder("List.focusCellHighlightBorder"));      else        setBorder(noFocusBorder);      return this;    }