View RSS Feed

Recent Blogs Posts

  1. 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 ...
  2. Applets with parameters

    by , 11-19-2011 at 06:37 PM (My Java Tips)
    Applets may accept parameters. This post briefly shows how to do that.

    Applet in included in HTML using APPLET tag. You have to specify the parameters in APPLET tag in the following form:
    Java Code:
    <applet code="AppletSubclass.class" width="anInt" height="anInt">
    <param name="parameter1Name" value="aValue"></param>
    <param name="parameter2Name" value="anotherValue"></param>
    Java SE