repaint just paints the component, validate sets up all the component's children. Since you are adding new components, validate needs to be called instead of repaint.
-Nate
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
There's a city wid manhunt for this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss