void repaintChildren(){
  for (  Component child : panel.getComponents()) {
    child.repaint();
  }
}

void repaintChildren ( ) { for ( Component child : panel . getComponents ( ) ) { child . repaint ( ) ; } }
request repainting of all the child panels .
