A Java Applet is a small program which is loaded and executed by the browser.
It is written in the Java programming language developed by Sun Microsystems. It can be functional, used to play games or create visual effects. Applets can be
obtained by searching the web. Use 'java applet' as a subject and included a type
if looking for a specific function. Some applets have settings that can be customized to your
page or desired effects. If you find yourself wanting to use an applet, here are a few helpful facts.
FAQ for using Java Applets
- Applets will slow a page loading.
- Good idea to limit use to one applet per page.
- Give credit to author of the applet.
- Make sure content follows the TOS at Crosswinds or your host.
- Be sure to download all files associated with the applet from the source.
- Place all files (class, txt, graphics, sounds) in the same directory. (hard drive/site)
- Read instructions that came with the applet.
- Look for an HTML file, it will have example of applet and code for your page.
- There should be explanations of parameters you can customize if applicable.
- Even if not mentioned in the HTML code, all files are used.
- Place the applet code where you want it to appear on the page within your html.
- Adjust parameter values one at a time, until desired effect achieved.
- It is better to resize a graphic than to adjust size parameters.
- Try matching your background to the applet color.
- Java must be turned on in your browser and your visitor's to view the applet.
- You might want to make an optional page for viewers that can't view java.
- Test applet in several browsers.
- If not working, go through the above again or check your 'Java Console' for error messages.
- If your site menu depends on a Java applet (such as those that come with Front Plage), always have an additional plain text menu elsewhere on your pages; then if someone can't run the Java, they will still be able to navigate through your site that way.
|