g.setFont (this.getFont()); g.setColor (this.getForeground()); return g;
Graphics g2 = g; int options = getDebugGraphicsOptions(); if (options != DebugGraphics.NONE_OPTION) { if (!(g2 instanceof DebugGraphics)) g2 = new DebugGraphics(g); DebugGraphics dg = (DebugGraphics) g2; dg.setDebugOptions(dg.getDebugOptions() | options); } g2.setFont(this.getFont()); g2.setColor(this.getForeground()); return g2;
  protected Graphics getComponentGraphics(Graphics g)  {        g.setFont (this.getFont());    g.setColor (this.getForeground());    return g;  }