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

Modal Dialog created by an applet does not have the correct behavior

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.3.0
    • 1.1.2, 1.2.0, 1.2.2, 1.3.0
    • client-libs
    • kestrel
    • generic, x86, sparc
    • generic, solaris_2.5.1, windows_nt

      When a dialog is created by an applet, the dialog box behaves like a modalless dialog. For example, it's frame can be put behind the applet browser. For some env where the window can automatically pop to the top by just having the mouse focus, the modal dialog can easily be lost. Furthermore, the user can still continue to interact w/ the rest of the applet. This behavior defeats the purpose of a modal dialog and create additional problems for the application logic.

      To recreate the problem, see the attachment:

      TestDialog.java
      TestDialogApplet.java
      testdialog.html

      When TestDialog is run as an application, it behaves correctly. However, when TestDialog is run in the context of the TestDialogApplet, it lost its modalness.
      sofyan.nugroho@Eng 1997-06-24

            mmartaksunw Michael Martak (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: