United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 2223179 [macosx] Modal dialog lost focus
2223179 : [macosx] Modal dialog lost focus

Details
Type:
Backport
Submit Date:
2012-04-09
Status:
Closed
Updated Date:
2012-07-26
Project Name:
JDK
Resolved Date:
2012-07-26
Component:
client-libs
OS:
Sub-Component:
java.awt
CPU:
Priority:
P3
Resolution:
Fixed
Affected Versions:
Fixed Versions:
7u6

Related Reports
Backport:

Sub Tasks

Description
                                    

Comments
EVALUATION

One can easily reproduce this bug by launching SwingSet2, choosing JOptionPane demo and then clicking "Show Message Dialog" button. Now, click on the "SwingSet2" window title bar and you'll see the window rapidly gaining and loosing focus. The reason it happens is because we don't prevent modally blocked NSWindows from becoming main/key.
                                     
2012-05-29



Hardware and Software, Engineered to Work Together