|
Quick Lists
|
|
Bug ID:
|
6199167
|
|
Votes
|
0
|
|
Synopsis
|
Live resizing
|
|
Category
|
java:classes_awt
|
|
Reported Against
|
|
|
Release Fixed
|
mustang(b40)
|
|
State
|
10-Fix Delivered,
request for enhancement
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
|
|
Submit Date
|
23-NOV-2004
|
|
Description
|
Currently, native applications on Windows have the property to dynamically relayout and repaint during resizing. This property is controlled through system desktop settings. Java doesn't have such property by default, though similar behavior can be controlled by dynamicLayout property. We need to implement "live resizing" in a similar fashion as native applications do, and have it controlled by system desktop settings.
As part of the work, we should investigate if such behavior works well on all range of supported machines, since originally dynamicLayout was made non-default due to the performance reasons.
|
|
Work Around
|
N/A
|
|
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.
xxxxx@xxxxx 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.
xxxxx@xxxxx 2004-12-01 13:28:56 GMT
|
|
Comments
|
Submitted On 16-JUN-2005
ScottWPalmwe
The evaluation doesn't mention anything about reading a standard property of the OS to control this behavior. that was mentioned in the description. Is it implemented?
The comment of 2004-12-01 13:28:56 is not clear -
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |