JDK-6448060 : make requesting focus synchronous
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2006-07-12
  • Updated: 2011-01-19
  • Resolved: 2007-01-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
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.

Comments
EVALUATION 4947031 (SequencedEvent should be eliminated) should be fixed before implementing this rfe
27-07-2006