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

JPopup is not visible when invoked on AWTButton

XMLWordPrintable

      I have a frame which contains Panel. Panel contains AWT Button & a TextArea added to north & south of the Panel. When i right click on the middel of the AWT Button, the Jpopup is not seen. I pressed left arrow button & pressed the enter button. I see that action event is triggered which indicates the JPopopMenu is hidden behind the awt Button & Panel. But when i right click on the right edge of the AWT Button , the JPopup is seen.

      Step to reproduced :
      ----------------------
      1) Run the attached program.
      2) Right click on the middle of the button. Observe that Jpopup is not seen.
      3) Press Left arrow button & press enter key. Observe that events are triggered , see the console. If you see the same behaviour the bug is reproduced.
      4) Right click on right bottom of the AWT Button & observe that JPopup is seen.


      I this happens on Solaris. It works fine in window xp. I tested from jdk7 b47 to jdk7 b66 pit build.

            Unassigned Unassigned
            lpremkumsunw Lawrence Premkumar1 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: