public Component getListCellRendererComponent(
            JList list,
            Object value,
            int index,
            boolean isSelected,
            boolean cellHasFocus)
        {
            setText(" " + value.toString());

            if(value.toString().equals(currentConnected))
            {
                setBackground(cboLogins.getBackground());
                setForeground(Color.black);
            }
            else
            {
                setBackground(isSelected ? new Color(200, 225, 235): new Color(220, 245, 255));
                setForeground(isSelected ? Color.blue : Color.black);
            }
            if(index ==-1)
            {
                if(!value.toString().equals(currentConnected) && !currentConnected.equals(""))
                    this.setBorder(new LineBorder(Color.red));
            }
            else
                this.setBorder(null);

            return this;
        }