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

make requesting focus synchronous

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 7
    • 6
    • client-libs
    • generic
    • generic

      AWT focus subsystem is implemented in such a way that focus requests
      (requestFocus/requestFocusInWindow calls) are performed asynchronously.

      This implies that developers must never assume that a component becomes
      the focus owner until this component receives a FOCUS_GAINED event.
      This is reflected in our spec.

      Unfortunetely such an implementation complicates development of an application
      as it often requires additional synchronization to be involved.

      Thus AWT should investigate an ability of making requesting focus synchronous.

            ant Anton Tarasov (Inactive)
            ant Anton Tarasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: