@Override
	public Component getTreeCellRendererComponent(final JTree tree,
			final Object value, final boolean sel, final boolean expanded,
			final boolean leaf, final int row, final boolean hasFocusCurrently) {
		// System.out.println(value);
		super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf,
				row, hasFocusCurrently);
		if (value instanceof File) {
			final File file = (File) value;
			if (file.isFile()) {
				this.setIcon(this.fsv.getSystemIcon(file));
				try {
					this.setText(file.getPath().substring(
							file.getAbsolutePath().lastIndexOf(
									System.getProperty("file.separator")) + 1));
				}
				catch (final Exception e) {
					e.printStackTrace();
				}
			}
			else {
				this.setIcon(this.fsv.getSystemIcon(file));
				try {
					this.setText(file.getPath().substring(
							file.getAbsolutePath().lastIndexOf(
									System.getProperty("file.separator")) + 1));
				}
				catch (final Exception e) {
					e.printStackTrace();
				}
			}
		}
		return this;
	}