setIcon(null); Font font = UIManager.getFont("Label.font"); if(value instanceof String) { font = new Font(font.getFamily(),Font.BOLD, font.getSize()); } else { font = new Font(font.getFamily(),Font.PLAIN, font.getSize()); } ResultCellRenderer.this.setFont(font);  return this;
if (!(comp instanceof JLabel)) return comp; JLabel label = (JLabel)comp; label.setIcon(null); return label;
		public Component getTreeCellRendererComponent(JTree tree,			Object value, boolean sel, boolean expanded,			boolean leaf, int row, boolean hasFocus)		{			super.getTreeCellRendererComponent(tree,value,sel,				expanded,leaf,row,hasFocus);			setIcon(null);			Font font = UIManager.getFont("Label.font");			if(value instanceof String)			{				font = new Font(font.getFamily(),Font.BOLD,					font.getSize());			}			else			{				font = new Font(font.getFamily(),Font.PLAIN,					font.getSize());			}			ResultCellRenderer.this.setFont(font);			return this;		}