Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Applet
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Applet as an extension of other software== In some cases, an applet does not run independently. These applets must run either in a [[Container (data structure)|container]] provided by a host program, through a [[Plug-in (computing)|plugin]], or a variety of other applications including mobile devices that support the applet programming model. ===Web-based applets=== Applets were used to provide interactive features to web applications that historically could not be provided by [[HTML]] alone. They could capture [[Mouse (computing)|mouse input]] and also had controls like [[Button (computing)|buttons]] or [[check box]]es. In response to the user action, an applet could change the provided graphic content. This made applets well suited for demonstration, visualization, and teaching. There were online applet collections for studying various subjects, from physics to heart physiology. Applets were also used to create online game collections that allowed players to compete against live opponents in real-time. An applet could also be a text area only, providing, for instance, a cross-platform [[command-line interface]] to some remote system. If needed, an applet could leave the dedicated area and run as a separate [[Window (computing)|window]]. However, applets had very little control over web page content outside the applet dedicated area, so they were less useful for improving the site appearance in general (while applets like [[news ticker]]s or [[WYSIWYG]] editors are also known). Applets could also play media in formats that are not natively supported by the browser. HTML pages could embed parameters that were passed to the applet. Hence, the same applet could appear differently depending on the parameters that were passed. Examples of Web-based applets include:{{citation needed|date=August 2012}} * [[QuickTime|QuickTime movies]] * [[SWF|Flash movies]] * [[Windows Media Player]] applets, used to display embedded video files in [[Internet Explorer]] (and other [[Web browser|browsers]] that supported the plugin) * [[3D modeling]] display applets, used to rotate and zoom a model * [[Browser game]]s that were applet-based, though some developed into fully functional applications that required installation. ===Applet Vs. Subroutine=== A larger application distinguishes its applets through several features:{{Citation needed|date=July 2009}} * Applets execute only on the "client" platform environment of a system, as contrasted from "[[Java Servlet|Servlet]]". As such, an applet provides functionality or performance beyond the default capabilities of its container (the browser). * The container restricts applets' capabilities. * Applets are written in a language different from the scripting or HTML language that invokes it. The applet is written in a compiled language, whereas 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.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)