I notice that my swing app is not too slow. but when i set dynamic layout to true and resize it too, it lags so bad, why is this, in native apps this never gives, is it something to do with double buffering?, how can i lose it?
When you resize, all contents of the frame must be layouted for EVERY resize operation. It is likely that any nested components must also be layouted. This is probably what takes the time.
…it should be a damn sight faster and use rather a lot less CPU to my mind. I suspect GridBagLayout is to blame. And the Swing HTML rendering package is horribly slow, complex and memory hungry.
And I also suspect that the repaint manager introduces quite a lot of perceived lag as well.
Cas