A frame should pop up from this Java applet. This does not work in Netscape 6.0 for Macintosh OS 9 using MRJ 2.2.3. It does work in Internet Explorer 5.0 for Macintosh OS 9 using MRJ 2.2.3, Internet Explorer 5.5 for Windows, Netscape 4.7 for Windows and Netscape 6.0 for Windows.
This applet also works in Netscape 4.73 for Macintosh OS 9 using MRJ 2.2.3. However, a different HTML file using the EMBED tag is needed for this combination. This is provided at EmbedFrameTest.
This has been reported as a Mozilla bug: http://bugzilla.mozilla.org/show_bug.cgi?id=6872
This is fixed as of 4 April 01, though you need a version of the "MRJPlugin" file more recent than the one shipping with Netscape 6.01 and more recent than the one at: http://www.mozilla.org/oji/MRJPlugin.html. You can download the latest update from http://homepage.mac.com/mrjplugin/, using the link under the 04 April 2001 heading.
If you have any insights, workarounds or comments about this test page please contact Mickey Segal. A listing of many Macintosh Java bugs with demonstration applets is at this link, including information on how to add any necessary Java plugins.
The code for this applet is available from this link and displayed below:
import java.applet.*;
import java.awt.*;
public class FrameTest extends Applet {
public void init()
{
Frame frame = new Frame("A frame");
frame.reshape(100, 100, 300, 300);
frame.validate();
frame.show();
}
public void paint(Graphics g)
{
g.drawString("A very simple frame should pop up", 10 , 20);
}
} // END OF Class FrameTest