setTextNonSelectionColor(defaults.getColor("Tree.textForeground")); setTextSelectionColor(defaults.getColor("Tree.selectionForeground")); setBackgroundNonSelectionColor(defaults.getColor("Tree.nonSelectionBackground")); setBackgroundSelectionColor(defaults.getColor("Tree.selectionBackground")); setBorderSelectionColor(defaults.getColor("Tree.selectionBorderColor"));
setTextNonSelectionColor(UIManager.getColor("Tree.textForeground")); setTextSelectionColor(UIManager.getColor("Tree.selectionForeground")); setBackgroundNonSelectionColor(UIManager.getColor("Tree.nonSelectionBackground")); setBackgroundSelectionColor(UIManager.getColor("Tree.selectionBackground")); setBorderSelectionColor(UIManager.getColor("Tree.selectionBorderColor"));
	public DefaultTreeCellRenderer()	{          UIDefaults defaults = UIManager.getLookAndFeelDefaults();                      setLeafIcon(getDefaultLeafIcon());          setOpenIcon(getDefaultOpenIcon());          setClosedIcon(getDefaultClosedIcon());          setTextNonSelectionColor(defaults.getColor("Tree.textForeground"));          setTextSelectionColor(defaults.getColor("Tree.selectionForeground"));    setBackgroundNonSelectionColor(defaults.getColor("Tree.nonSelectionBackground"));    setBackgroundSelectionColor(defaults.getColor("Tree.selectionBackground"));    setBorderSelectionColor(defaults.getColor("Tree.selectionBorderColor"));	}