Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6799415

PIT : Parent dn't gain the focus when dialog is closed faster by pressing ESCAPE key

XMLWordPrintable

    • sparc
    • solaris_10

      I have a frame , which contains a button. when i press the button a dialog is displayed , each dialog intend has button, when pressing the button on the dialog ,shows the dialog.
      I show around 15 dialog, when i press the escape key faster to close the dialogs , the parent dialog dn't gets the focus. Hence can't close the dialog. This happens only when testcase is launched using -Djava.security.manager.

      Step to Reproduce:-
      --------------------
      1) Run the attached testcase.
      java -Djava.security.manager WindowTest
      2) you will see the frame with the button, press space bar or click on the button. You see the dialog.
      3) Repeat step(2) for some 10 to 15 times.
      4) Press ESCAPE key faster,so that dialog gets closed. If the parent's dialog dn't get the focus & can't able to close the dialog , then the bug is reproduced.

            ant Anton Tarasov (Inactive)
            lpremkumsunw Lawrence Premkumar1 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: