Java   View all facts   Glossary   Help
Java program > applet
Next Java programapplet viewer    UpJava program    Previous Java programstandalone program   

applet comparison table
Subject have part have be view by is a kind of is a synonym of is a subtopic of have example implement change need run write using run in embed in has definition read is partitioned into load from start by adhere to
Java program 0 or 1 namereadable by humans kbTopprogramHow Java Works        A collection of 1 or more classes that work together and is started either by the operating system or a browser running it applet, application   
appletparameters which are passed from the HTML file to the applet when the applet is loadedan instance of Applet class, JApplet class or one of their subclassesa Java-compatible Web browserJava programJava appletApplets
import java.awt.Graphics;
class HelloWorldApplet extends java.applet.Applet {
public void paint(Graphics g) {
g.drawString("HelloWorld!",5,25);
}
}
a stop method which may be executed anytime, usually when the applet is not immediately visiblethe executing machine's environmenta main method if it is used solely in a browserstandaloneJava 1.0 or Java 1.1 because most web browsers do not support later versions of Javaan HTML pageA program that adheres to certain conventions that allow it to run within a Java-enabled browserarguments from the command line a remote or local locationan init methoda set of conventions that lets it run within a Java-compatible browser

Next Java programapplet viewer    UpJava program    Previous Java programstandalone program