paintChildren(g);
  public void paint(Graphics g)  {    RepaintManager rm = RepaintManager.currentManager(this);    // We do a little stunt act here to switch on double buffering if it's    // not already on. If we are not already doublebuffered, then we jump    // into the method paintDoubleBuffered, which turns on the double buffer    // and then calls paint(g) again. In the second call we go into the else    // branch of this if statement and actually paint things to the double    // buffer. When this method completes, the call stack unwinds back to    // paintDoubleBuffered, where the buffer contents is finally drawn to the    // screen.    if (!isPaintingDoubleBuffered && isDoubleBuffered()        && rm.isDoubleBufferingEnabled())      paintDoubleBuffered(g);    else      {        if (g.getClip() == null)          g.setClip(0, 0, getWidth(), getHeight());        paintComponent(g);        paintBorder(g);        paintChildren(g);      }  }