Appletviewer works, IE 5.01 doesn't

Why would appletviewer show an applet correctly, but not Internet Explorer?
Here's the HTML:
<HTML>
<HEAD>
<TITLE>Test page for HelloWorld</TITLE>
</HEAD>
<BODY>
<HR>
This line of text comes before the applet.<P>
<APPLET CODE = "HelloWorld.class" WIDTH=300 HEIGHT=50>
</APPLET>
<P>
This line of text comes after the applet.
</BODY>
</HTML>
Here's the applet:
import java.applet.*;
import java.awt.*;
* HelloWorld
public class HelloWorld extends Applet{
Label HelloLabel = new Label ("Yo, you lookin at me?");
public void init (){
setBackground (Color.yellow);
add (HelloLabel);
Appletviewer shows a yellow box with the text as above.
Internet Explorer 5.01 shows a gray box and no text.
Java SDK and JRE 1.4.1.
Steve

Thanks for the tip on setting the "Use Java 2 1.4.1" in IE Tools>Advanced. I had already tried that.
I'll try the Object tag once I know what that is.
Also, I see in IE, Tools, there is an item that says "Sun Java Console". I click it, nothing happens, nothing loads into memory.
If I encounter any more stupid stuff, I will uninstall, reinstall - again.
It's not a show-stopping problem. Just curious.
I have never embarked on learning a new language and NOT encountered weird, wild, stuff.
Steve

Similar Messages

Maybe you are looking for