g.setColor(oldColor);
  public void update(Graphics g, JComponent c)  {    if (c.isOpaque())    {      g.setColor(c.getBackground());      Rectangle clip = g.getClipBounds();      g.fillRect(0, 0, c.getWidth(), c.getHeight());    }    paint(g, c);  }