#1
26th December 2010, 05:22 PM
|
|||
|
|||
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?
|
#2
27th December 2010, 11:24 AM
|
|||
|
|||
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. |
#3
27th December 2010, 12:31 PM
|
|||
|
|||
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. |
#4
27th December 2010, 01:31 PM
|
|||
|
|||
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> |
#5
27th December 2010, 03:33 PM
|
|||
|
|||
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. |
#6
28th December 2010, 12:38 AM
|
|||
|
|||
Re: What are Applets in Java? How can they be used in programming?
Quote:
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. |
#7
28th December 2010, 09:53 PM
|
|||
|
|||
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/ |
#8
28th December 2010, 10:36 PM
|
|||
|
|||
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 |
#11
15th August 2011, 11:50 PM
|
|||
|
|||
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 |
#12
19th August 2011, 12:28 AM
|
|||
|
|||
Re: What are Applets in Java? How can they be used in programming?
Quote:
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. |
#13
7th September 2011, 02:04 PM
|
|||
|
|||
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. |
Related Topics: |
||
Thread | Replies | Last Post |
ROHIT-no need to explain | 0 | 1st January 2010 10:53 PM |
|