Java Applet

Applets are small java programs that are primarily used in internet computing. It can be transported over the internet from one computer to another and run using the Applet Viewer or any web browser that supports Java. An applet is like an application program, it can do many things for us. It can perform arithmetic operations, display graphics, create animation & games, play sounds and accept user input, etc.
A webpage can contain not only a simple text or a static image but Java applets have begun to make a significant impact on the World Wide Web (WWW).

We can be classified the java applets into two ways –

  • Local Applet
  • Remote Applet
  • Local Applet

    An applet developed locally and stored in a local system that is known as a Local Applet. When a web page is trying to find a local applet, it doesn’t need to use the Internet and the local system doesn’t require the Internet Connection.
    local applet

    Remote Applet

    A remote applet is that which is developed by someone else and stored on a remote computer connected to the Internet. If our system is connected to the Internet, we can download the remote applet onto our system via the Internet.
    remote applet

    Recommended Posts:

    Advanced Java
        1. Java Applet
        2. Applet Life Cycle in Java
        3. Difference Between Applet and Application
        4. Creating an Executable Applet in Java
        5. Displaying Numerical values in Applet
        6. An Applet Program to Add Two Numbers
        7. Event Handling in Applet
        8. AWT Event Classes
        9. AWT Graphics Class
        10. Draw a line and rectangle in Java Applet
        11. Draw Circles and Ellipses in Java Applet
        12. Draw a Polygon in Java Applet
        13. AWT Hierarchy | AWT Package
        14. Swing in Core Java