On http://www.meangene.com/java/javascript/javascript.htmlusing opener would help to use a JavaScript function in an JavaScript
generated window (I don't know any other way to define a JavaScript
function as content of a JavaScript written window).
We need to try one more time.
I still do not understand what you are trying to accomplish.
Java cannot call a JavaScript function that is on another page. It *must* call a JavaScript function on the same window that contains the Java Applet.
Parentwin = (JSObject) win.getMember("opener"); ///"opener" gets the Netscape window that called this window. <http://www.meangene.com/java/javascript/javascript.html#ParentWin>
wouldn't it be possible to do something like
Parentwin.call(MessagecallbackFunctionWithoutTheOpenerPart,app,msg)
Regards, Jan
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users

