Relates :
|
|
Relates :
|
|
Relates :
|
when ever the ancestor is moved or resized, HierarchyBoundsListener Hierarchy event will be triggered. I have a frame which contains some awt components added to it. I have added HierarchyBoundsListener to all the components. When i move the frame ancestorMoved event is triggered , but when i resize the frame ancestorResized event is not triggering. This happens from jdk7.0 b09 onwards. It works fine in jdk7.0 b07. I dn't have jdk7.0 b08 build. Step to reproduce: ------------------ 1) Run the attached program. 2) Observe on console that ANCESTOR_RESIZED event is triggered once. but ANCESTOR_MOVED event is triggered no of times. 3) Move the frame. Observe that ANCESTOR_MOVED event is triggered. 4) Resize the frame. Observe that ANCESTOR_RESIZED event is not triggered. If you see the same then the bug is reproduced.
|