JDK-6514521 : toBack does not push a modal dialog behind a modal excluded frame the first time
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_suse_sles_10
  • CPU: x86
  • Submitted: 2007-01-18
  • Updated: 2011-01-19
  • Resolved: 2007-01-22
Related Reports
Duplicate :  
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