On Wed, 2006-03-15 at 12:44 +0100, Roman Kennke wrote:
> Hi Lillian,
>
> This change in Container.addImpl causes massive painting problems in
> Swing. Could you reconsider this? It might be the case that we only need
> a if(isShowing() { repaint... } instead of completely removing the
> repaint.
No, I have added more tests to the Container.addImpl mauve test to show
this is right.
>
> Note that I am not saying that you are wrong. If it turns out that your
> patch is right (write more mauve tests for this please), then we must
> probably do something in JComponent.addImpl or so.
Yes, something has to be done elsewhere. We cannot call repaint each
time a component is added to a container.
Lillian