PDA

Click to See Complete Forum and Search --> : AWT - paint only child components...


crptcblade
Apr 7th, 2002, 02:09 PM
I'm trying to repaint only child components in AWT. The Component class only seems to have a paintAll() method, which paints the component and its children. But, I'm calling it in the component's paint() method, which causes flickering for obvious reasons.

So I guess my question is, is there like a paintChildren method like in swing, or is there a way to enumerate through the child compnents so I can repaint them manually?

:)