faqts : Computers : Programming : Languages : Java : Applet

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 10 people (60%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Java: Applet: What are applets?

Sep 6th, 2003 19:01
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 07 September 2003 - 03:57 am ------------------

Java: Applet: What are applets?

---

Applets are small Java programs that are usually downloaded from the
Internet or some other network.

---

A Java applet is a class that does not have a main method.

---

They can execute only within a Java-enabled browser (that is a browser
which contains a module which can interpret the Java byte code
correctly) such as Internet Explorer, Opera, Mozilla, Netscape
Navigator, ...

---

They can also execute within appletviewer, which is part of the Java
Development Kit (JDK).

---

Applets usually fulfill certain specific functions.

---

Calculators, data entry forms, and navigational image maps have been
implemented as applets.

---

Because applets are usually small, they can be downloaded quite 
quickly.

---

Despite their size, applets can perform many useful roles with a 
minimum
of code.

This because they can take advantage of the features already
built into Web browsers.

---

For instance, to display a graphical format such as a GIF file, the 
applet
uses functionality already built in to the browser.

---

A Java applet is usually invoked from a Web page, by adding the
<APPLET> tag to that html page.

----------------------------------------------------------------------