setBufferedToImage and resize while non visible

Hi Jules,

I think I’ve found an issue with the setBufferedToImage .
If you resize a component while non visible then when visible again, the old size paint is displayed.

In Component::setBounds when not visible, repaint is not called and this is the only place where bufferedImage is set to NULL.

maybe it should be set to NULL in setBounds as well when the component is not visible.


Thanks, I’ll take a look at that!