init is also a method in the Java java.applet.Applet class. init is used by the web browser to inform the Applet it has been loaded. A good place to initialize variables, as one can probably guess.