String name = getText().trim();
String name = getText(); if (name != null) { name = name.trim(); }
		public Component getTreeCellRendererComponent(				JTree tree,				Object value,				boolean sel,				boolean expanded,				boolean leaf,				int row,				boolean hasFocus) {			// Swing incorrectly passes selection state in some cases			TreePath selectionPath = tree.getSelectionPath();			if (selectionPath != null && selectionPath.getLastPathComponent() == value) {				sel = true;			}			super.getTreeCellRendererComponent(					tree, value, sel,					expanded, leaf, row,					hasFocus);			if (value instanceof Album) {				album = (Album) value;			} else {				album = null;			}			Font font = getFont();			if (font != null) {				if (album != null && album.getSize() > 0) {					setFont(font.deriveFont(Font.BOLD));				} else {					setFont(font.deriveFont(Font.PLAIN));				}			}			if (album != null && album.isHasFetchedImages()) {				setForeground(Color.green);			} else {				// setForeground(Color.black);			}			//setIcon(null);			String name = getText().trim();			setText(name);			setToolTipText(name);			return this;		}