hjaffer2001
hjaffer2001

Reputation: 953

Replace Java applet loader image

I have a JSP page like this.

<jsp:plugin type="applet" codebase="." code="ViewerApplet.class" align="center" width="100%" height="600" jreversion="1.6" archive="icepdf-core.jar, icepdf-viewer.jar, icepdf-applet.jar">
    <jsp:params><br>
        <jsp:param  name="java_arguments" value="-Xmx128m" /><br/>
        <jsp:param name="classloader_cache" value="true" /><br/>
        <jsp:param name="url" value="<%=test%>" />
    </jsp:params>
    <jsp:fallback>
        <p>Unable to load applet</p>
    </jsp:fallback>
</jsp:plugin>

Before the applet get executed, I get a Java loader gif image. I want to replace that image with my own image. How can I do this?

Upvotes: 1

Views: 825

Answers (2)

Andrew Thompson
Andrew Thompson

Reputation: 168835

See Special Attributes of Applets & the (poorly named) image parameter.

Upvotes: 1

adarshr
adarshr

Reputation: 62603

I'm not good at applets but a quick research shows that you need to put the code in the init() method of your ViewerApplet class.

Upvotes: 1

Related Questions