super.paint(g);   if (hasFocus) {
	public void paint(Graphics g)	{    // paint background    Rectangle vr = new Rectangle();    Rectangle ir = new Rectangle();    Rectangle tr = new Rectangle();    Insets insets = new Insets(0, 0, 0, 0);    Border border = UIManager.getBorder("Tree.selectionBorder");    if (border != null)      insets = border.getBorderInsets(this);    FontMetrics fm = getToolkit().getFontMetrics(getFont());    SwingUtilities.layoutCompoundLabel(((JLabel) this), fm, getText(),                                       getIcon(), getVerticalAlignment(),                                       getHorizontalAlignment(),                                       getVerticalTextPosition(),                                       getHorizontalTextPosition(), vr, ir, tr,                                       getIconTextGap());    g.setColor(super.getBackground());    g.fillRect(tr.x, tr.y, tr.width, tr.height - insets.top - insets.bottom);    // paint border    Color b = getBorderSelectionColor();    if (b != null)      {        g.setColor(b);        g.drawRect(tr.x, tr.y, tr.width, tr.height - insets.top - insets.bottom);      }          super.paint(g);	}