This discussion is archived
0 Replies Latest reply: Mar 17, 2010 2:09 PM by 843811 RSS

compile an Applet th contains a Javascript method call from HTML

843811 Newbie
Currently Being Moderated
Hi,
I am having errors while compiling my Applet that calls a Javascript method call from the HTML. I am using netscape.javascript.* package. I have added it in my classpath. The applet lunches fine, but when it reaches to the JSObject win = getWindow(this) it gives me source not found error.
My understanding is the applet is missing the Javascript method which is within the HTML file. But when I am trying to compile it from IDE eclipse, it doesnt find that JS method.
Is this the reason of the problem? If not what is the reason and any solution would be highly appreciated.

Thanks..