Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

How to get available functions for an applet (that can be accessed in javascript) ?

Thread view: 
Stan R. - 23 Apr 2006 20:09 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.