Which JSObject should I use?

I am trying to get a Java applet to interact through javascript in its environment.

So far, I have used netscape.javascript.JSObjectJava as a type to handle calls to Java functions from JS, but I just found that there is sun.plugin.javascript.JSObjecteven there sun.plugin.javascript.navig.JSObject!

I tried to learn more about these two other versions to no avail. Should I just stick netscape.javascript.JSObject?

+5
source share
1 answer

I tried to learn more about these two other versions to no avail. Should I just stick netscape.javascript.JSObject?

Yes. This is a public interface for other classes that can support it behind the scenes.

+1
source

All Articles