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

Adding listeners to newly opened windows should be done synchronously

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.0.2fcs
    • Fix Version/s: 1.0.3
    • Component/s: client-libs
    • Labels:
      None

      Description

      Currently adding PropertyChangeListeners to accessible objects of a newly opened window is done asynchronously in the EventQueueMonitor class. This bears the risk that at the time the initiallly focussed component processes its FOCUS_GAINED event, there is not yet a listener attached to its AccessibleContext, so the ACCESSIBLE_STATE_PROPERTY change event to FOCUSED will get lost.

      As a result, the user won't be informed which object in a dialog has the keyboard focus until (s)he starts traveling around.

      This applies to all Java applications.

        Attachments

          Activity

            People

            Assignee:
            lmonsantsunw Lynn Monsanto (Inactive)
            Reporter:
            obraun Oliver Braun (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: