United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6514521 : toBack does not push a modal dialog behind a modal excluded frame the first time

Details
Type:
Bug
Submit Date:
2007-01-18
Status:
Closed
Updated Date:
2011-01-19
Project Name:
JDK
Resolved Date:
2007-01-22
Component:
client-libs
OS:
linux_suse_sles_10
Sub-Component:
java.awt
CPU:
x86
Priority:
P4
Resolution:
Duplicate
Affected Versions:
7
Fixed Versions:

Related Reports
Duplicate:

Sub Tasks

Description
This behavior is reproducable with SuSE 10 and on Ubuntu 6.06. This is observed with java 6 and 7

I've a Frame(f1), an application modal dialog and a modal excluded Frame (f2). Once the Dialog is on top of the other two frames, calling toBack on dialog does not push the Dialog to the back of the modal excluded frame, the first time. When toBack is called again, the dialog goes to back.

To reproduce:
1. Run the attached testcase. It will show two frames
2. Click the button 'Show Dialog' - it will show the modal dialog
3. Now, click the 'Dialog ToBack' button on dialog

If the dialog does not go behind the right frame on first click and if it goes behind when clicked again, the bug is reproduced.

                                    

Comments
EVALUATION

The bug is a duplicate of the 6514512, as the attached test behaves just the same (the shown dialog cannot be toBack()'ed).
                                     
2007-01-22
EVALUATION

These two bugs - 6514512 and 6514521 - are very close to each other, but they don't seem to be duplicates. I believe they are caused by the same problem and should be fixed together.
                                     
2007-01-18



Hardware and Software, Engineered to Work Together