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.
.