public int drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
  public int drawUnselectedText(Graphics g, int x, int y, int p0, int p1)    throws BadLocationException  {    String text = getDocument().getText(p0, p1);    g.setColor(Color.BLACK);    g.drawString(text, x, y);    return metrics.stringWidth(text);  }