Community
Participate
Working Groups
AWT has it's own layout managers. Since it is not using the SWT layouts and is doing layout at a different time (i.e. not inside the resize event), we need a mechanism to indicate when we are doing layout so that we can stop the OS from responding to every size change being made in the widgets during layout. Currently there is no way to do this. It would be nice to have this in the form of two calls that can begin and end deferring of layout on a Composite. NOTES: SN (5/16/00 5:09:29 PM) Why is this a problem? Do other implementations of AWT have such a mechanism? I believe that you are really seeing a problem and I'd like to know what it is. SSQ/MVM (5/17/00 11:41:31 AM) - It is a performance problem, since the OS posts events back during layout (WM_SIZE). Yes, other implementations have the mechanism. SN (5/17/00 1:46:19 PM) Can you describe it or point me to some code? SN (5/17/00 3:58:38 PM) SSQ to try: setLayout (deferLayout); layout (); setLayout (null); McQ (2/1/01 2:43:34 PM) - SSQ to indicate status.
PRODUCT VERSION: SWT 032
Is anyone interested on this bug?
David, This bug was entered a while back by myself. Do you think it is still valid? Silenio
It might be. Off the top of my head, this could help reduce flickering. Any thoughts on this, Pat?
See Composite.setLayoutDeferred(boolean).