Thread: What are Applets in Java? How can they be used in programming? Reply to Thread

Your Username: Click here to log in
Title:
  
Message:
Post Icons
You may choose an icon for your message from the following list:
 

Additional Options

Miscellaneous Options

Topic Review (Newest First)

21st September 2011 02:06 PM
Unregistered
Re: What are Applets in Java? How can they be used in programming?

What are Applets?Give the lifecycle of an Applets.
7th September 2011 01:04 PM
manoj rajpurohit
Re: What are Applets in Java? How can they be used in programming?

Applet is a very nice feature in which user can interact his web pages with the help of these applets.

applets is written in Html language where we can determine its length and width, it is like a frame window made in the HTML language.

java programmers can connect the applet with the java programming in which the Applet coding is done then the java code is written , now it can be used.

i hope you understand that. best of luck.
18th August 2011 11:28 PM
amaan khan ak
Re: What are Applets in Java? How can they be used in programming?

Quote:
Originally Posted by Unregistered View Post
Explain in detail about Applets in Java and how do they can be used in programming?
java have a property of applet.applet is a special type of java program which is design to be transmitted over the internet and it do work properly automatically executed by the java compatible web brower.
applet is a very useful application.applet is download on demand,without any intrection of user.
by the help of applet it changed internet programming.it also very promising in security and its also have a portability property.
15th August 2011 10:50 PM
balafederer
Re: What are Applets in Java? How can they be used in programming?

Hello,

An applet is a small Internet program. A programming language for the web, which can be downloaded by any computer. The applet is usually embedded in an HTML page on a Web site and can be executed from within a browser.

Simple Example:

import java.awt.*;
import java.applet.*;
public class SimpleApplet extends Applet
{
public void paint(Graphics g)
{
g.drawString(*A Simple Applet*, 20,20);
}
}

Thank you
1st July 2011 12:03 PM
Unregistered
Re: What are Applets in Java? How can they be used in programming?

what are the disadvantages of applet
28th March 2011 06:53 PM
Unregistered
Re: What are Applets in Java? How can they be used in programming?

difference between public and proteceted access specifier .
28th December 2010 10:36 PM
yajvendra
Re: What are Applets in Java? How can they be used in programming?

dear friend
Applets are the small programs written in java that can be directly used. so these are pre constructed program that ca be used in java programs.
we can use applets in our programs by directly calling them into programs
28th December 2010 09:53 PM
mini rani
Re: What are Applets in Java? How can they be used in programming?

hi!

An applet is a program written in the Java programming language that can be included in an HTML page, much in the same way an image is included in a page.

When you use a Java technology-enabled browser to view a page that contains an applet, the applet's code is transferred to your system and executed by the browser's Java Virtual Machine (JVM).

For details visit this link:
http://java.sun.com/applets/
28th December 2010 12:38 AM
nishant1110
Re: What are Applets in Java? How can they be used in programming?

Quote:
An applet is a small Internet-based program written in Java, a programming language for the Web, which can be downloaded by any computer. The applet is also able to run in HTML. The applet is usually embedded in an HTML page on a Web site and can be executed from within a browser.
This statement has been written more than once. But the useful part about applets is that they are easy to programme, render great output, and make your webpage more interactive than basic-HTML versions. Also, the JAVA virtual machine (JVM) is used to execute these applets within the web browser by converting the source code into JAVA byte code.

Furthermore, useful and good examples in this regard can be found in the software package entitled NetBeans IDE, and more basic versions are available with BlueJ.
27th December 2010 03:33 PM
babydoll
Re: What are Applets in Java? How can they be used in programming?

Hi!
JAVA APPLETS:
An applet is a special kind of java program that a browser enabled with java technology can download from the internet and run.
An applet is inherrently part of a graphical user interface. we can see the applet in the 3d objest in any browsing websites.
There are many applets which are made a web browser.

You can create the java applets for various APPLET CLASS SUCH AS:-
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
This is the basic hierarchy of Applet class.

Hope you will get the basic concept of the java applet.
Thank you.
27th December 2010 01:31 PM
priyanka_swengg
Re: What are Applets in Java? How can they be used in programming?

An applet is a small program that can be sent along with a Web page to a user...... in the form of Java bytecode.Since Java's bytecode is platform independent, Java applets can be executed by browsers for any platforms...


AN example of applet

<Html>
<Head>
<Title>Java Example</Title>
</Head>

<Body>
This is my page<br>
Below you see an applet<br>
<br>
<Applet Code="MyApplet.class" width=200 Height=100>
</Applet>
</Body>
</Html>
27th December 2010 12:31 PM
dreksha chaudhary
Re: What are Applets in Java? How can they be used in programming?

Dear friend
An applet is a small Internet-based program written in Java. The applet is usually embedded in an HTML page on a Web site and can be executed from within a browser.

Applets are used to provide interactive features to web applications that cannot be provided by HTML alone.
27th December 2010 11:24 AM
rahul k
Re: What are Applets in Java? How can they be used in programming?

Dear Friend

Detail About Applet Java -

An applet is a small Internet-based program written in Java, a programming language for the Web, which can be downloaded by any computer. The applet is also able to run in HTML. The applet is usually embedded in an HTML page on a Web site and can be executed from within a browser.

Applets are used to provide interactive features to web applications that cannot be provided by HTML alone. They can capture mouse input (like rotating 3D object) and also have controls like buttons or check boxes.


What is Java Applet -

Java is a general purpose programming language.

A Java program is created as a text file with .java extension.

It is compiled into one or more files of bytecodes with class extension.

Bytecodes are a set of instructions similar to machine code of a specific machine but it can be run on any machine that has a Java Virtual Machine (JVM). JVM interprets bytecodes.

JVM was first implemented on Sparc/Solaris and PC/Win32. Now ported to many other platforms.

Java applets are Java programs that are retrieved and executed by web browsers through the JVM under tight secure environment.

Web browsers retrieve Java applets according to following tags in the web pages:

<applet code=ResPlotApplet.class width=600 height=500> deprecated or the new more general,
<object codetype="application/java" classid="java:ResPlotApplet.class" width=600
height=500>
<param> are used to specify parameters for the applet. For example,
<APPLET CODE="Animator.class"
WIDTH="aNumber" -- the width (in pixels) of the widest frame
HEIGHT="aNumber"> -- the height (in pixels) of the tallest frame
<PARAM NAME="IMAGESOURCE"
VALUE="aDirectory"> -- the directory that has the animation frames (gif, jpg)


All other types of java programs are called Java applications.
26th December 2010 05:22 PM
Unregistered
What are Applets in Java? How can they be used in programming?

Explain in detail about Applets in Java and how do they can be used in programming?

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBulletin Optimisation by vB Optimise.