In this section we are giving tutorials on Applet. Applet is used in
Java to write program for running the Java application on web browser.
With the help of Applet you can create a Java program and then use the
<applet> tag to embedded the applet on the HTML page. When the web page
embedded with applet code is download on the browser, the browser runs
the Applet in their own JVM. This way programmer can write Java code
which can run on the web browser.
Here we have created many articles and example of applet. Here are the
tutorials of Applet.
What is Applet
This section introduces you with the applet and describes the advantages and
disadvantages of applet.
Welcome to the Internet Now a days Java has become so stupendous that we can't
even think of WWW (World Wide Web) without it. As we all know that WWW is a
collection of computing and information resources.
What Exactly is HTML? Now lets see what exactly is HTML (Hyper Text Markup Language). It is a type
of data file which is transferred to the client machine. The HTML file gets
translated and displayed on the screen if the client is using a Web
browser like Netscape Navigator, Microsoft Internet Explorer etc.
Java and HTML: The Basics
Before going any further lets start with the basics of
HTML first. In this section we will come to know about all the tags which are
required for the applet to be displayed within the browser.
<APPLET> Tag Parameters: The <PARAM> Tag
These are the parameters passed directly to a Java applet.
Parameters are to applets what command-line arguments are to applications. These
parameters allow the user to customize the applet's operation. APPLET parameters stored in the PARAM tag actually have little directly to do with HTML.
HTML Document Creation We have already come to know about the Java Applets to
be embedded within the HTML pages. There are several tags used in HTML however
in this section we will provide an introduction to HTML for Java programmers.
Creating First Applet
In this section you will create our first applet example and then run in the
This section shows you how to draw circle and lines in applet.
Drawing Shapes using color
Applet allows you to play with colors. In this section you will learn how to
draw different shapes using colors of your choice.
This section shows you how to write applications that responds to the user
Passing Parameters To Applet
In this example you will learn how to pass parameters from html page to an
applet. You can then use these parameters values for further processing or
for some business processing.
Opening a URL from an Applet
From the applet it is possible to open another url (web page). In this
example you will learn how to accomplish it.
Here, we will learn about making the banner in java applet. Simply the
banner is used to advertising for any institution, shops and any
organizations. The advertising can be done by the different - different ways
but the main aim is to popular our organization.
Clock Applet Here is a sample of running clock provided by the java applet to illustrate
how to use the clock in an applet. This program shows the current time. This type of program is used to display
the time on browser where your application is running on.
May 24, 2012
java is a oriented programming language.
June 30, 2012
July 27, 2012
Use in java applet in browser.
Philip A. Adams
September 4, 2012
the applet code
the sample porgrams are very eduactional and very interesting, send me some more sample program
September 7, 2012
Log in using JAVA applet
Please help me how to make a log in using java applet. If the username and password you enter is correct then you click log in button a new applet window will appear using jbutton on java applet.
September 12, 2012
java applets is not working
December 9, 2012
i need java applet
September 29, 2013
how to point starting and end points of window
March 2, 2014
who can give me an example code of applet java