Randy Webb said:
Ask in comp.lang.java
java != javascript
I think the original poster knows that well enough, when he wants to
call a Javascript function from inside the applet.
That said, I think the solution will be in Java, so asking in a Java
group could be better.
Netscape's solution for Javascript/Java interaction is called
LiveConnect (the original name for JavaScript was LiveScript, and I
don't think it is a coincidence).
<URL:
http://developer.netscape.com/docs/technote/javascript/liveconnect/liveconnect_rh.html#Communicating with JavaScript from>
So, to call the Javascript alert function, do:
JSObject window = netscape.javascript.JSObject.getWindow();
window.call("alert",new Object[]{"Test"});
I don't know if it will work in IE, or with the MS-"JVM".
I don't know if there is anything better, but you can use LiveConnect,
if permissions on the browser allows it.
/L