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.
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist