A Java Applet is a small dynamic program which can be transferred via the Internet and run by a Java compatible web browser. It can be embedded into HTML pages, which runs on the java enables web browsers such as mozila and Internet explorer. Applet is designed to run remotely on the client browser, so there are some restrictions on it. Applet can't access system resources on the local computer. Applets are used to make the web site more dynamic and entertaining.
The main difference between Java based applications and applets is that these are typically executed in an Applet viewer or Java compatible web browser.
Life cycle of an Applet:
There are four methods in the Applet class, which provides you the framework on which one can build any significant applet. These are init, start, stop, destroy and paint.
What are the advantages of Applet?
Disadvantages of Java Applet:
For more about Java Applets topics visit the below links
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: September 6, 2013 If you enjoyed this post then why not add us on Google+? Add us to your Circles