-If, occasionally, some Java applets don't work correctly with Netscape Navigator, this could be due to the fact that some applets have some problems if some components are still present in Netscape's cache memory (this happens if you selected a great size for the cache and if you visited the page containing that applet recently). In order to get the Java applet working, clear Netscape's cache via Options-Network Preferences and the "clear memory cache" and "clear disk cache" commands; click the OK button; if this is not enough, start Netscape again after clearing its cache.

-When you Save a Java applet you must NOT change its name, lower case letters with upper case letters and viceversa or abbreviate the applet's name, because the applet's code contains the name of the applet itself and thus the Java Interpreter gives an error if something is incongruous.
-It is possible to change the applet's name only if you change the name that is at the top of its source code (the text file with ".java" extension) and compile it again with a Java Compiler in order to have a ".class" file.

-It is possible to change the name of the HTML page that contains the instructions that "call" the java applet. It is also possible to change the content/"value" of the "param" (parameters). The values of the parameters in the HTML code are "passed" to the java program and so it is possible to personalize applets that use parameters without having to learn Java language.

-If the Java applet (".class" file) is not in the same directory of the HTML page, at the beginning of the HTML code that calls the applet there will be a CODEBASE... instruction. Servers that host free Homepages generally don't allow Subdirectories and thus all files must be in the same directory; the CODEBASE instruction and the name of the Subdirectory must be removed from the HTML code; the CODE instruction and the name of the applet MUST NOT be removed. If the applet's code "calls" files (images and audio) that are in another directory, if you want everything to work correctly, you must change the ".java" source and compile it again.
I have already done all these things for the applets on MY HOMEPAGE so you will have no problem in using them.

When you upload java applets to your server, remember to select the BINary option for ".class" files, sound files and images (use Ascii/Text option only for HTML pages). If you use Geocities EZ Upload Utility you don't need to specify options; do NOT check out options that convert letters to lower case (because of the applet's name) and so on.

-At the moment Java (by Sun Microsystems) can use only Sun's "au" format for audio files, with the following options: 8khz, Mono, 8 bit, Mu-Law (logarithmic conversion: has a greater dynamic than the 8 bit linear conversion). There are a lot of freeware and shareware programs that record in this format or that can convert files recorded in other formats. You can find a lot of material regarding Java in bookstores or on Internet: use a research engine to find what you are looking for...

-Java is an interpreted language: this means that instructions are translated one at a time, via software, before being executed by the computer; it is much slower than an executable code but it can run on different Operative System platforms and it is secure (regarding Viruses). Some specific computers have a faster hardware interpreter for Java.

-If you have quite simple questions, E-Mail me.


Main Index


This page hosted by Get your own Free Home Page