FAQ - What You Should Know


 

JPEG images

  Don't save JPEG (.jpg) images using Photoshop 4.0.
There is a incompatibility problem between Photoshop 4.0 and Java applets. Some JPEG images may not show correctly in the applet if they are saved with Photoshop. To solve this, convert the images by resaving them from another image processing program like Paint Shop Pro.
 

GIF images

  Using gif images with Netscape.
There is a dithering problem with Netscape 2 and Netscape 3 regarding GIF images. The images will appear a little spotty and there is no known fix for this problem. This browser bug will not affect JPEG images

Netscape also have problems rendering transparent images if the upper left pixel isn't transparent. The solution is simply to always have the upper left pixel transparent if you have transparency in any other part of the image.
 

Class names

  Don't change the class file name.
You may not alter the binary, or change the file name, of a .class file. If you do you will get an error message from your browser.
 

MIE 3.02

  Microsoft Internet Explorer 3.02 bug.
MIE 3.02 has a major bug when running applets from the hard disk as it will prevent any applet from accessing any image or sound file. This browser bug will not affect applets running from a web server.
 

Code & Codebase

  The difference between code and codebase in the HTML code.
The code keyword is used to tell the name of applet code and should name a .class file. You may not include any directory information here. The codebase keyword tells the browser in witch directory the applet code can be found. If the applet is in the same directory as the HTML file you can skip the codebase keyword. Look at this example:

<applet code="ET_ImageMenu.class" codebase="../classes/" width="130" height="25">
 

© 1997-2000 Entanke. Visit us at http://www.entanke.se/ for more information.