Hello, I'm wondering how I can enumerate the functions of an applet
(like document.applets.myapplet) ?
In javascript, I can get the properties using
for (prop in document.applets.myapplet) // do something with prop
But I can't figure out any way to get what functions I can access in
javascript.
Reason being I'm using an applet (its a chat applet), I know of a couple
functions I've seen in an example file that comes with the applet files.
But I'm sure threres got to be more, but the docs don't mention them.
Thanks for any help.
--
Stan
Grzegorz Kaczor - 24 Apr 2006 07:09 GMT
> Hello, I'm wondering how I can enumerate the functions of an applet
> (like document.applets.myapplet) ?
[quoted text clipped - 9 lines]
> functions I've seen in an example file that comes with the applet files.
> But I'm sure threres got to be more, but the docs don't mention them.
As far as I know, you can call any public method exposed by the applet.
So you can simply add your applet to the classpath and use any Java IDE
to see what you can call.
Best regards,
Grzegorz Kaczor