University of Delaware

Get a Java-powered browser!

Introduction

Java is a multi-platform programming language that enables you to create programs that run from your Web pages. Creating Java programs or "applets" requires Java programming . However, you can add publically available Java applets to your Web pages without programming. There is a large number of such applets available on the Web and on CD's that accompany many Java books . Many of these applets accept user input and can therefore be configured for your particular needs. An example is the banner at the top of this page.

To display an applet on a Web page, you need to add appropriate commands to the associated HTML file. Below, we describe these HTML commands and introduce some of the many "plug-n-play" applets available on the Web. Plug-n-play means that the applets are ready to be plugged into your Web pages with a minimum of effort. No programming required!

This is an introduction to using applets. For more details on the subject, see the text, Hooked on Java" available in the User Services Reference Library, 014 Smith Hall.

Adding a Java Applet to a Web Page

Interactive Java Applets

Applets can be interactive allowing you to enter data values, use the mouse to manipulate scroll bars or images, etc. An example of an interactive applet is is the "Ballistic Simulator" that displays a cannon and target and allows the user to adjust the velocity of the cannon balls, the gravitational constant and wind speed.

The scrolling applet at the top of this page reads a data file for the contents and type of the scrolling text. The applet is also interactive because if you click on the banner, "Making Banners is Easy with Java", you will link to the Funscroll homepage where you can get details and examples of using this applet.

Here are some other interactive applets you can try:

More Java Applet Examples