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

Windows created from modal dialogs cannot gain focus after they have been hidden

XMLWordPrintable

    • x86
    • generic

      User cannot gain focus on JavaHelp after the first time it is accessed, when JavaHelp is launched from a modal dialog.

      Here is an example which illustrates the problem. You need to put the attached myhelp.jar in your classpath along with JavaHelp's jhall.jar, located in the attached javahelp-1_1_3.zip.

      Steps to reproduce bug:

         - compile and launch attached Fire.java
         - press 'modal' button.
         - press F1 to bring up help window.
         - close help window.
         - close 'modal dialog' using the cancel button(not the cross).
         - bring up the 'modal dialog' again by pressing the modal dialog.
         - press F1 to bring up the help window.
         - The help window does not accept any events and is now blocked.

      The problem has been reproduced with JRE 1.4.0_01 on Windows NT 4.0. Works fine with 1.4.0_01 on Solaris 8.

            son Oleg Sukhodolsky (Inactive)
            klevesqusunw Kim Levesque (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: