free applets applet instruction

Unpack the applet zip file into your web page. Be sure to preserve the folder names and with a utility that supports long file names. Use an FTP program that also supports case-sensitive, long filenames. These are general words of wisdom.

If you are running Win95/NT you might need (http://www.winzip.com/winzip/) WinZip95 6.0a or higher to unzip and untar the archive. WinZip will retain the long filenames which are needed for the applet to work.

You should be careful to check that your unzipping program has extracted the named files correctly. Some DOS programs will name according to the old 8.3 format, renaming the ".class" files to ".cla" and ".html" to ".htm". You can rename the files by opening up a DOS window into the applet's directory and typing:
ren *.cla *.class
ren *.htm *.html

In this zip file you should find the following:
* .class - the applet's class files.
* .html - The applet's example html file.
* InstructionFreeApplets.txt - this file.

Using the applet in a web page
------------------------
Put the applet's subdirectory within your web page directory. If you want to move it elsewhere then use the "CODEBASE" option to point to the appropriate directory.

If you use this applet then it would be nice if you credited the applet author and
gave www.free-applets.com a link by pasting the following into your web page:

<a href="http://www.free-applets.com">
<img alt="Click for free java applets"
src="free-applets.gif"
width=110 height=31>
</a>

It will put a little button on your page that will link through to
Free-Applets.com homepage. It is only a request and optional.

Amending .java
------------------
If you amend the source code to create another applet, then it is only on the condition that you add the following header to your source code:

// This applet is based on code by (Original Applet Author Name).
// email - (Original Applet Author's e-mail address).
// web site - http://(Original Applet Author's homepage url).

You will find the necessary applet html requirements listed within the applet's ".html" document. Please be sure to check the Applet Author's homepage for any restrictions the author may impose on the use of the applet and its source code.

Problems
----------------
* If you get a "class format error" then the applet has probably been corrupted during transfer. Did you transfer it as a binary? It should be copied onto the server in the same way that you copy graphics files. Make sure all file names have the proper capitalization and exact spelling.

* If you get " class not found" then the ".class" file has either not been loaded onto the server or it has an inappropriate name (ie: ".cla"). Some browsers are case sensitive, so be sure to check the .class file has not been switched into uppercase (Windows Explorer is no help here as it displays uppercase filenames in mixed case - the best way to check the case is by doing a "dir" from a DOS session). Or the ".class" file(s) are not in the correct directory and should be located in the path indicated in the "CODEBASE=".

Some applets run on browsers that support Java Platform 1.0, while others run on browsers that support Java Platform 1.1. Browsers that support Java Platform 1.0 include HotJavaTM 1.0-prebeta1, Netscape NavigatorTM 2.x and higher (32-bit) and Internet Explorer 3.x and higher. HotJava 1.0, Netscape Communicator 4.x, and Microsoft Internet Explorer 4.x support Java Platform 1.1.

Applets will also run in AppletViewer - a tool distributed in the Java Developers Kit (www.javasoft.com/products/jdk/1.1/index.html).


Thanking you for selecting the Free Java Applets Collection : WWW.FREE-APPLETS.COM wants to be your java applet source.



This applet and source code are delivered "as is".
www.free-applets.com and the applet's author accept no liability for any loss or damage caused by the use of this software.


[CLICK HERE for free java applets collection]
www.free-applets.com

Last updated:
Используются технологии uCoz