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

Adding listeners to newly opened windows should be done synchronously

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0.3
    • 1.0.2fcs
    • client-libs
    • None

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: