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

On IE, modal JDialog from an Applet in html frame is not modal

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Backports

        Description

        JRE 1.5.0_16 + IE6/7.

        If an applet in an html frame shows a JDialog created as
        "new JDialog((Frame)null, true);" does not behave as a
        modal dialog. Users can move brwser window in front of
        the dialog by clicking the browser window.

          <frameset name="main" cols="300,*" framespacing="0">
              <frame src="form.html" frameborder="0" marginwidth="0" />
              <frame src="control.html" frameborder="0" marginwidth="0" />
          </frameset>

        // control.html
          <body topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0">
            <applet code="modal2.ToolApplet.class" archive="../dist/Modal2.jar" width="100%" height="100%" name="SampleForm" vspace="0" hspace="0" >
            </applet>
          </body>

        This symptom is not seen on Firefox or Safari.

        The symptom was seen on 6u7 as well, but with 6u12, the
        dialog works as a modal dialog.

        So, it looks like java plugin for IE in 1.5 and 6.0-6u7 issue.
        .

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                poonam Poonam Bajaj Parhar
                Reporter:
                ytoshima Yoshinori Toshima
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: