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

[macosx] Situation when KeyEventDispatcher doesn't work on AWT but does on Swing.

    XMLWordPrintable

Details

    • b56
    • x86
    • os_x

    Backports

      Description

        Mac OS X 10.7.3 macmini4,1
        Run the attached application creating JFrame, JButton and JList. It has a custom keyboard focus manager and a key dispatcher. Once the frame is shown, we request focus for the button (it will paint its outline as if focused) and press a key. Key event dispatcher reports everything properly.

        So far so good. Now run the same application with Frame, Button and List. Button still paints outline as if focused but no key events come to the KED. Even if we click the Button, it doesn't help. Events start going only after we click the List and Button again.

        Attachments

          Issue Links

            Activity

              People

                ant Anton Tarasov
                yan Yuri Nesterenko
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: