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

[Unified Swing/Fx threading] don't schedule an event dispatching from the event dispatch thread

    XMLWordPrintable

Details

    • 8
    • b110

    Description

      In the unified Swing/Fx threading mode, when an even is sent (DefaultKeyboardFocusManager.sendMessage) it is scheduled for dispatching instead of dispatching it straight away. This breaks the focus functionality.

      Use the attached test to reproduce. Click on the fx button, focus should be transferred to the swing button, but it isn't.

      Attachments

        Activity

          People

            ant Anton Tarasov
            ant Anton Tarasov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: