A good answer might be:

Your browser formats (lays out in pretty fashion) all the information in the web page. It needs to know the size of the applet area to do this.

Java Disabled Browsers

If you wish to display a message to people who have disabled their browser from running Java, put a few lines of text between the tags:

<applet code="MyApplet.class" width="250" height="200">
If you see this, your browser does not have Java applets enabled.

Sometimes individuals or companies disable Java applets out of security concerns.

Note: Officially in the latest version of HTML applets are included in a Web page using an <object> tag. But this tag is not widely supported, so for now use the <applet> tag.


Can data (such as text) and executable programs (such as Java bytecodes) both be be transmitted over the Internet?