Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6533330

regresssion: ancestorResized event is not triggering, when resizing the frame.

XMLWordPrintable

    • b14
    • x86
    • windows_xp
    • Verified

      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.

            anthony Anthony Petrov (Inactive)
            lpremkumsunw Lawrence Premkumar1 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: