Monday, 1 October 2012



A Java applet is an applet delivered to users in the form of Java bytecode. Java applets can run in a Web browser using a Java Virtual Machine (JVM), or in Sun's AppletViewer, a stand-alone tool for testing applets. Java applets were introduced in the first version of the Java language in 1995, and are written in programming languages that compile to Java bytecode, usually in Java, but also in other languages such as JythonJRuby, or Eiffel (via SmartEiffel).

Applets are used to provide interactive features to web applications that cannot be provided by HTML alone. They can capture mouse input and also have controls like buttons or check boxes. In response to the user action an applet can change the provided graphic content. This makes applets well suitable for demonstration, visualization and teaching. There are online applet collections for studying various subjects, from physics to heart physiology. Applets are also used to create online game collections that allow players to compete against live opponents in real-time.

24 comments:

  1. An applet typically embedded inside a webpage and runs in the context of a browser

    ReplyDelete
  2. java applet is a special kind of java program that a browser enable with java technology can download from the internet and run

    ReplyDelete
  3. Every java applet must define a subclass of the applet

    ReplyDelete
  4. Java applets are executed in a sandbox by most web browsers, preventing them from accessing local data like clipboard or file system.

    ReplyDelete
  5. A Java applet is like a window application running within the embedding web page. It can provide much more sophisticated features in graphical user interfaces for interaction, as well as other functionalities such as animation and special effects.

    ReplyDelete
  6. java applet is very nice... you can create several things.

    ReplyDelete
  7. A Java applet is an applet delivered to users in the form of Java bytecode. Java applets can run in a Web browser using a Java Virtual Machine (JVM), or in Sun's AppletViewer, a stand-alone tool for testing applets. Java applets were introduced in the first version of the Java language in 1995, and are written in programming languages that compile to Java bytecode, usually in Java, but also in other languages such as Jython,[8] JRuby,[9] or Eiffel (via SmartEiffel).[10]

    Java applets run at very fast speeds comparable to, but generally slower than, other compiled languages such as C++, but until approximately 2011 many times faster than JavaScript.[11] In addition they can use 3D hardware acceleration that is available from Java. This makes applets well suited for non-trivial, computation intensive visualizations. As browsers have gained support for native hardware accelerated graphics in the form of Canvas and WebGL, as well as Just in Time compiled JavaScript, the speed difference has become less noticeable.

    Since Java's bytecode is cross-platform or platform independent, Java applets can be executed by browsers for many platforms, including Microsoft Windows, Unix, Mac OS and Linux. It is also trivial to run a Java applet as an application with very little extra code. This has the advantage of running a Java applet in offline mode without the need for any Internet browser software and also directly from the integrated development environment (IDE).

    ReplyDelete
  8. its quite hard to create drawing using an applet but it is also very challenging.

    ReplyDelete
    Replies
    1. yah right! pero masasanay ka din aman pag lagi mong gingawa :)

      Delete
  9. here's a link for a java applet tutorial

    http://profs.etsmtl.ca/mmcguffin/learn/java/

    ReplyDelete
  10. using java applet you can draw anything that you want but it is hard for me to code ,,, but as you go through you can learn already and you will not be hard up in coding...

    ReplyDelete
  11. Applet taught me how to draw in java, it is an interesting topic which i enjoyed,im just confused with the coordinates but its amazing

    ReplyDelete
  12. Applet is a big help to people who are fond in drawing in pictures in modern way, though sometimes its hard to picture out the coordinates its still enjoying

    ReplyDelete
  13. hey guyz,,this is a site for java applet tutorial..hope this would help....
    http://www.realapplets.com/tutorial/index.html

    ReplyDelete
  14. One purpose of applets is to add features and capabilities to a web page beyond what simple HTML can provide. With applets, entire programs can be run within a page.

    http://www.ehow.com/facts_7167250_purpose-java-applets.html#ixzz29CzFMeY2

    ReplyDelete
  15. A Java 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 typically embedded inside a web page and runs in the context of a browser. An applet must be a subclass of the java.applet.Applet class. The Applet class provides the standard interface between the applet and the browser environment.


    Simple but challenging :))

    ReplyDelete
  16. 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.

    ReplyDelete
  17. Applets are used to provide interactive features to web applications that cannot be provided by HTML alone. They can capture mouse input and also have controls like buttons or check boxes. In response to the user action an applet can change the provided graphic content. This makes applets well suitable for demonstration, visualization and teaching.Applets are also used to create online game collections that allow players to compete against live opponents in real-time.

    ReplyDelete
  18. Developers can develop and debug an applet direct simply by creating a main routine (either in the applet's class or in a separate class) and calling init() and start() on the applet, thus allowing for development in their favorite Java SE development environment. All one has to do after that is re-test the applet in the AppletViewer program or a web browser to ensure it conforms to security restrictions.

    ReplyDelete
  19. A Java 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 typically embedded inside a web page and runs in the context of a browser. An applet must be a subclass of the java.applet.Applet class. The Applet class provides the standard interface between the applet and the browser environment.

    Swing provides a special subclass of the Applet class called javax.swing.JApplet. The JApplet class should be used for all applets that use Swing components to construct their graphical user interfaces (GUIs).

    The browser's Java Plug-in software manages the lifecycle of an applet.

    ReplyDelete
  20. i enjoy coding na', just need a little patience to adjust the size of the shapes, & etc. and arrange them to get the exact position..

    “Java applets are programs that are embedded in other applications, typically in a Web page displayed in a Web browser.” (http://cegonsoft-opensource.com/?p=938)

    ReplyDelete