View RSS Feed

Java Applet

Java Applet

  1. Signed Applet

    by , 01-08-2012 at 01:42 PM
    Java applets are contained within a “sandbox” by default and due to security reason. A signed Applet is a trusted Applet. This signed Applet can perform any action within sandbox and outsides it boundaries. For example, reading, writing and deleting file on local drives or accessing different system parameters.

    Earlier versions of browsers have no support for signed Applet and do not allow operations outside sandbox. To sign an Applet, applet’s code must be digitally singed with digital ...
    Java Applet , Tutorial
  2. 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
    Java Applet , Tutorial
  3. 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

    Java Applet , Tutorial
  4. 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 ...