public Component getListCellRendererComponent(
            JList list,
            Object value,
            int index,
            boolean isSelected,
            boolean cellHasFocus)
        {
            String v = value.toString();
            String dv = v;
            final ImageIcon archIcon = new ImageIcon(getClass().getResource(Constants.ICON_PATH + "arch.gif"));
            final ImageIcon dirIcon = new ImageIcon(getClass().getResource(Constants.ICON_PATH + "dir.gif"));
            if(value.toString().startsWith("a:"))
            {
                this.setIcon(archIcon);
                dv =v.substring(2);
            }
            else if(value.toString().startsWith("d:"))
            {
                this.setIcon(dirIcon);
                dv =v.substring(2);
            }
            else
            {
                this.setIcon(null);
            }
            //setBorder(isSelected ? new LineBorder(list.getSelectionForeground()) :new LineBorder(list.getBackground()) );
            //setBackground(list.getBackground());
            setFont(list.getFont().deriveFont(Font.PLAIN));
            setBackground(isSelected ? list.getSelectionBackground() : list.getBackground());
            setForeground(isSelected ? list.getSelectionForeground() : list.getForeground());
            setText(dv);
            return this;
        }