开发者

Replace Java applet loader image

开发者 https://www.devze.com 2023-02-16 13:07 出处:网络
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, ic

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>
    <j开发者_高级运维sp: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?


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消