devxlogo

Providing an Alternative Image for the Non-Java Viewer

Providing an Alternative Image for the Non-Java Viewer

You’ve taken the trouble to write a Java applet, so you naturally want everyone to see it. Unfortunately, there are some viewers that still don’t have a Java-capable browser or their OS doesn’t support Java. When they attempt to load your page, all they will see a gray box. To solve this problem, you can specify an image to display in place of the applet. Use the tag inside the tag as shown below:

 Upgrade to Internet Explorer to view this Java applet.

devx-admin

Share the Post: