EVALUATION
It appears that we already have all the functionality that we need, but it is disabled by default. It is accessible through the Toolkit.setDynamicLayout API.
I enabled it by default in Toolkit's constructor, so that user can override it if it is not desirable. We also plan to add a property to control it, and Java Control Panel option.
The remaining question is how to guarantee the acceptable performance of this functionality.
I was running SwingSet2 with live resizing on.
On my P3M/1500/1G/Radeon 9000, it works fine, you don't see the delay during any resizing, almost.
I ran 20 SwingSet2 and 8 Java2Demo in background, to slow the machine down. The performance is still acceptable, no notaceable delays in relayouting.
###@###.### 2004-11-30 14:54:51 GMT
I also tested it on P2/350/256MB/Matrox G400. At the first run I even couldn't notice live resizing, so slow it was working. Native applications worked fine.
###@###.### 2004-12-01 13:28:56 GMT
|