| roubleshooting
Tips This page contains some tips to help you if the WildView applet is not performing the way that you expect it to perform. This document is divided into two section: there is a Questions and Answers section, and a General Tips section. If you are unable to solve the problem after reviewing these tips, please submit a bug report. | |||||||||||||
| uestions
and Answers
To find the answer to a question listed below, just click on the question. Q I just finished adding a WildView applet to my web page, but when I pull it up in a browser, I only see an empty rectangle. Why? A If the WildView applet area on your web page is empty, then most likely you have specified something incorrectly that has confused the applet so much that it can't initialize. Here are some things to check:
Q For some reason my JPEG image file isn't loading. What's going on? A The first thing to verify is that the JPEG's file name and location is correctly entered. Next, take a look at the Java output log. The Java output log will often provide you with information that will tell you the cause of the problem. If the Java output log has a message that is similar to:
then the browser is having a problem understanding the internal format of your JPEG file. This problem with reading JPEGs has only been reported when Netscape Navigator 3.01 is being used as the browser -- you should not encounter this problem with Microsoft Internet Explorer or with Netscape Communicator (i.e., Navigator 4.0). If you have used Adobe Photoshop 4.0 to create your JPEG image, you will need to make a setup adjustment and then re-save the image. In Photoshop 4.0, select "Preferences" from the File menu, and then choose "Saving Files...". Select "Never Save" from the Image Previews pop-up menu, and then re-save your JPEG file. You won't see an image preview in Photoshop's open-file dialog, but the image should now work with Java applets. If you did not use Photoshop 4.0 to create your JPEG or if you are still encountering a problem, then try re-saving the file, but keep the JPEG save options as basic as possible. Also, try using a lower "quality" setting -- sometimes saving a JPEG with a "high quality" setting will cause this problem. Keep in mind that if you re-save a JPEG, you must shut-down the browser and re-launch it in order for the Java applet to load the new version of your image file. Q I'm using Netscape Navigator 3.01 and the colors in my image files are all screwed up. How can I fix it? A Netscape Navigator 3.01 seems to have a problem when a Java program draws a graphic file image which uses a color pallet that does not match the Navigator standard pallet. In this case, Navigator dithers, or changes, the colors in the image to match its standard pallet. Sometimes if the Java applet performs an image processing operation on the image, the image is displayed incorrectly. Other times a GIF image might be dithered even though nothing has been done to the image by the applet. Unfortunately, there are no hard and fast rules to fix this problem. It is suggested that you try changing the image's color pallet to the standard Netscape color pallet, or that you try adjusting the image with a graphics program to minimize (or possibly eliminate) the color problems. This problem is not a problem with the applet: it is a problem with Netscape Navigator 3.01. You should not encounter this error with Microsoft Internet Explorer or with Netscape Communicator (i.e., Navigator 4.0). Q When my WildView applet loads, the background is drawn, but nothing else happens. What's wrong? A Check to make certain that the file name specified for the panelSet applet parameter is spelled and capitalized correctly, and also that the file is located in the correct directory. If WildView cannot locate your panel set file, then it will log an error message and will display only the background that you defined for the WildViewdisplay. Q When my WildView applet loads, some or most of the panels are displayed, but some panels are not displayed. Why is this? A First check the size of your panel set file. If the file size is greater than 16 KB, then WildView is only reading part of your file unless you have specified a value greater than 16 for the "maxSizeKB" applet parameter (the parameter value defaults to 16 if you omit it in the HTML). If your panel set file is smaller than 16 KB, or if you have specified a value greater than the panel set size for the "maxSizeKB" applet parameter, then there might be an invalid value in a panel set that is causing an error. Check the Java output log to determine if this is the case. Q I'm using Internet Explorer 3.02 and when I load the applet from my local file system I get a "Security Exception." The applet runs fine when loaded from my web server, why won't it run when I load it locally? A An early release of Microsoft Internet Explorer 3.02 made a change to the security model in the Java Virtual Machine that prevents applets from loading files in some instances. Microsoft has since relaxed the security restrictions and has released an updated version of the Java Virtual Machine. You can download the latest Java Virtual Machine from Microsoft at http://www.microsoft.com/Java (look for a link that points to the "Java VM Update"). Q Why are there no "cab" or "zip" files included with WildView? A CAB and ZIP files are files that can be used to improve the time that is required to transfer the applet class files to the computer that will run the Java applet. While CAB and ZIP files can certainly be used with WildView, it was not practical to include pre-built CAB and ZIP files because of the great number of combinations that are possible with WildView. If you are interested in creating your own CAB and/or ZIP file that is customized for your particular WildView applet design, you can obtain information regarding CAB files at the Microsoft site http://www.microsoft.com/workshop/prog/cab/. Information about using a ZIP file should be found in any good HTML reference book (look for the section that describes the <APPLET> tag). | |||||||||||||
| eneral
Tips The following are some general tips that might be of help to you if you are trying to figure out why the WildView applet doesn't seem to work.
| |||||||||||||
| Copyright © 1997 by Modern Minds, Inc. | |||||||||||||