View RSS Feed

Java Applet

Java Applet examples.

  1. Java Applet

    by , 01-08-2012 at 01:41 PM
    Initialization code of the Java applet is written in init() method. It is just like a constructor for an applet.
    Java applet contains the following life cycle methods.

    init() : This method is used to initialize an applet and only once called in applet life cyle by the browser.

    start() : This method is called after init() and contains code to start processing. Start() method is called again, if user leaves current page without killing session.
    ...
    Tags: applet Add / Edit Tags
    Categories
    Java Applet , Tutorial
  2. How to sign a Java applet

    by , 12-09-2011 at 07:16 AM
    Why signing an applet?

    By default, a Java applet is running inside a restricted environment called “sandbox”. The sandbox isolates the applet outside the browser environment and user’s computer, preventing maliciously coded applets from running without user’s granted permission.
    Applets are considered to be untrusted if they are not signed with a security certificate. Untrusted applets are also referred to as unsigned applets. Being inside the security sandbox, unsigned applets ...

    Updated 12-09-2011 at 04:41 PM by Java Applet

    Categories
    Java Applet , Tutorial
  3. How to use HTML to display an Applet in browsers

    by , 12-08-2011 at 12:19 PM
    Applet is a Java based application which is embedded into a web page. Its advantage is to provide rich user interface experience and interaction just like other desktop applications, while still keeping the powerful features of Java like cross-platform, security, multi-threading…
    This article will guide you through some basic steps to build a simple applet, use HTML code to display the applet in browsers. In addition, you will learn how to passing parameters and loading external libraries ...