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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.1.2, 1.2.0, 1.2.2, 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      kestrel
    • CPU:
      generic, x86, sparc
    • OS:
      generic, solaris_2.5.1, windows_nt

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: