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.
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.
The <APPLET> Tag in Detail
After understanding a simple Java-enabled Web page lets explore the APPLET tag now.
<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.
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial