Rectangle vr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle();  Insets insets = new Insets(0, 0, 0, 0); Border border = UIManager.getLookAndFeelDefaults().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);   Color b = getBorderSelectionColor(); if (b != null) { g.setColor(b); g.drawRect(tr.x, tr.y, tr.width, tr.height - insets.top - insets.bottom); }
	public void paint(Graphics g)	{          super.paint(g);	}