JDK-6399303 : Non-Focusble window steals focus from other applications.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-03-16
  • Updated: 2014-02-27
  • Resolved: 2006-05-03
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.
Other
5.0u8 b01Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
The problem is that we have a JFrame that is non-focusable but sometimes when it pops up it steals focus from other applications such as Word, Notepad, even from another instance of our own
application. When that happens it appears with a blue titlebar, however, you can't
tab around the window. It does not have a real focus since it is non-focusable but
the other application that was focused before loses the focus.. Once the JFrame
in this wierd state is closed the focus goes back to that other application from
which it was stolen. This is randomly reproducible. However, there is a problem that is
always reproducible which is when you click on a non-focusable frame while your focus is
on some other application such as Word, Notepad, even another java application, that other
application loses focus, while the non-focusable frame does not gain focus since it is
non-focusable. Once the non-focusable frame is closed, the focus goes right back to the 
application who previously owned it. We think that the first problem is a variation of the
second one.

Comments
SUGGESTED FIX It's a partial backport of the fixes to 6181725, 5091224, 6384552. See the webrev: http://sa.sfbay.sun.com/projects/awt_data/5.0u8/6399303
09-11-2006

EVALUATION need to be addressed in u8
16-03-2006