Java Applets

Image Tape

Last Updated: November 4, 1998


  1. Example
  2. Installation
  3. Documentation and Source Code


Example of Image Tape


Installation

To install the Java Image Tape onto your Virtual Server, you will need to telnet to your Virtual Server and then do the following steps:

  1. cd   (this will put you in your home directory)
  2. tar -xvf /usr/local/contrib/ImageTape.tar

The HTML source below represents the applet definition for the Image Tape.

  <applet codebase="/Java/ImageTape"
          code="ImageTape.class" width=300 height=25>
    <param name=speed value="8">
    <param name=img value="images">
    <param name=dir value="4">
    <param name=nimgs value="10">
  </applet>

If you are unfamiliar with JAVA, or would like to learn more about JAVA(tm): Programming for the Internet, the following URL is an excellent resource:

http://java.sun.com


Documentation and Source Code

Documentation

More information about the Image Tape can be obtained at the following URL:
(The URL below was known to be valid as of April 13, 1996)

http://java.sun.com/applets/applets/ScrollingImages/example1.html

Due to the fact that the above URL does not have much in terms of documentation, a brief usage summary is given here.

The Java definition for the ImageTape should look something like this:

  <applet codebase="/Java/ImageTape"
          code="ImageTape.class" width=400 height=30>
    <param name=speed value="8">
    <param name=img value="images">
    <param name=dir value="4">
    <param name=nimgs value="24">
  </applet>

The "img" variable specifies the image directory. In this case it is a subdirectory called "images". Set "nimgs" to be the number of images that you have. These images must be named in the format "T%d.gif" or "T%d.jpg", i.e. T1.gif, T2.gif, T3.gif, etc.  

Source Code

The source code for the Image Tape was written by the Java developers.
 


Copyright © 1996, Last Modified: 4 November 1998 A Little Technology Shoppe, LLC. All rights reserved. All brand names and product names used on these web pages are trademarks, or trade names of their respective holders.