}
	public void paintComponent(Graphics graphics, Component c,			Container p, int x, int y, int w, int h,                              boolean shouldValidate)  {    // reparent c    addImpl(c, null, 0);    Rectangle oldClip = graphics.getClipBounds();    // translate to (x,y)    graphics.translate(x, y);    graphics.clipRect(0, 0, w, h);    // set bounds of c    c.setBounds(0, 0, w, h);    // validate if necessary    if (shouldValidate)      {        c.validate();      }    // paint component    c.paint(graphics);    // untranslate g    graphics.translate(-x, -y);    graphics.setClip(oldClip);  }