An '''applet''' is a software component that runs in the context of another program, for example a [[web browser]]. An applet usually performs a very narrow function that has no independent use. Hence, it is an ''app''lication ''[[-let]]''. The term was introduced in [[AppleScript]] in 1993. An applet is distinguished from "subroutine" by several features. First, it executes only on the "client" platform environment of a system, as contrasted from "[[servlet]]." As such, an applet provides functionality or performance beyond the default capabilities of its container (the browser). Also, in contrast with a subroutine, certain capabilities are restricted by the container. An applet is written in a language that is different from the scripting or [[HTML]] language which invokes it. The applet is written in a compiled language, while the scripting language of the container is an interpreted language, hence the greater performance or functionality of the applet. Unlike a "subroutine," a complete web component can be implemented as an applet.

The word '''applet''' could alternatively be used to describe
a small standalone application, such as those typically bundled with operating systems, for example a calculator program or [[text editor]].



== Attributes ==

Unlike a [[Computer program|program]], an applet cannot run independently; an applet
features display and graphics and often interacts with the human user. However, they are usually stateless and have restricted security privileges. The applet must run in a [[container]], which is provided by a host program, through a [[plugin]], or a variety of other applications including mobile devices that support the applet programming model.

Examples of applets are [[Java applet]]s and [[SWF|Flash movies]]. Another example is the [[Windows Media Player]] applet that is used to display embedded video files in [[Internet Explorer]] (and other [[Web browser|browsers]] that support the plugin). Some plugins also allow for displaying various 3D model formats in a web browser, via an applet that allow the view of the model to be rotated and zoomed. Many [[browser game]]s are applet-based, though some may develop into fully functional applications that require installation.

== See also ==

* [[Java applet
]]

[[Category:Programming paradigms]]
[[Category:Technology neologisms
]]

== References ==

[http://www.java.sun.com/applets The Applet source]

[[ca:Applet]]
[[cs:Applet]]
[[da:Applet]]
[[de:Applet]]
[[es:Applet]]
[[fr:Applet
]]
[[ko:애플릿]]
[[it:Applet]]
[[he:יישומון]]
[[lv:Sīklietotne]]
[[nl:Applet]]
[[ja:アプレット]]
[[pl:Aplet]]
[[pt:Applet]]
[[ru
:Апплет]]
[[simple:Applet]]
[[sk:Applet]]
[[sv:Applet]]
[[zh:Applet
]]