Without setting the security properly, an Applet
- Cannot have any access to files on the local computer.
- Cannot invoke any other program on the local computer.
- Cannot communicate with any computer other than the computer where it is from.
The following methods control the applet lifecycle.
|void init()||initialization. This method is called once when the applet starts execution.|
|void start()||starts the applet and is called immediately after init(). Also called if the user returns to the current .html page after leaving it.|
|void stop()||called when the user moves off the page containing the applet.|
|void destroy()||called after the stop() method when the browser is shut down.|