What are the main differences between applets and applications?
Location: http://www.jguru.com/faq/view.jsp?EID=15620 Created: Feb 18, 2000 Modified: 2000-02-18 13:00:16.896 Author: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) Question originally posed by shiva kumar (http://www.jguru.com/guru/viewbio.jsp?EID=12274 Applets are created to be embedded within a browser. As such, they have methods that are automatically called by the browser at certain times: init() when first loaded, start() when page loaded/entered, stop() when page left, destroy() when applet unloaded, and paint() when the screen needs to be displayed. In addition, applets have severe security restrictions as they can be loaded from untrusted sources over the Internet. Applications on the other hand need to be installed locally, start execution with the main() method, and have no inherent security restrictions. Beyond this, applications control their own operations.