setForeground(Color.BLACK);
setForeground(Color.black);
		public Component getListCellRendererComponent(				JList list, Object value, int index,				boolean selected, boolean hasFocus) {			super.getListCellRendererComponent(list, value, index, selected, hasFocus);            Album currentAlbum = core.getCurrentAlbum();			if (   null != currentAlbum                 && null != value                 && -1 != index) {				Picture p = currentAlbum.getPicture(index);				if (p.isOnline()) {					if (p.getAlbum() != p.getAlbumOnServer()							|| p.getIndex() != p.getIndexOnServer()) {						setForeground(Color.RED);					} else {						setForeground(Color.GREEN);					}				} else {					setForeground(Color.BLACK);				}				if (GalleryRemote._().properties.getShowThumbnails()) {					ImageIcon icon = core.getThumbnail(p);					if (icon != null) {						setIcon(icon);						setIconTextGap(4 + GalleryRemote._().properties.getThumbnailSize().width - icon.getIconWidth());					}				}				StringBuffer text = new StringBuffer();				text.append("<html><p>");				if (p.isOnline()) {					text.append(p.getName());				} else {					File f = p.getSource();					text.append(f.getName());					if (GalleryRemote._().properties.getShowPath()) {						text.append(" [").append(f.getParent()).append("]</p>");					}				}				if (p.getCaption() != null && getIcon() != null) {					text.append("<p><font color=\"gray\">").append(p.getEscapedCaption()).append("</font></p>");				}				text.append("</html>");				//Log.log(Log.TRACE, MODULE, text.toString());				setText(text.toString());			} else {				setText("dummy");			}			return this;		}