Re: inter-applet communication problems
Eric Capps wrote:
....
...a JavaScript call to a Java method. There's a bit on that
here:
http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/js_java.html
But since you're the one helping me, I'm going to guess you already knew
that. ....
Just quickly.
One thing I can tell you, is that Sun Microsystems
provide the *worst* examples of JS usage I have
*ever* seen. And that is coming from someone
who has seen a lot of horrendous JS on the
comp.lang.javascript usenet newsgroup, as
well as having written some myself.
Sun's use of JS is fragile, does not degrade gracefully,
does not implement protoyped inheritance in any
sensible manner, uses browser sniffing (something I
mentioned earlier) was written by early forms of the
HTMLConverter largely to hide the 'invalid'
<OBJECT>/<EMBED>elements it was churning out...
Sun should have their licence to code JS, revoked.
Now, if you want to know about scripting applets, I
recommend the resource I myself turn to for
scripting applets..
"Real's HowTo"
<http://64.18.163.122/rgagnon/howto.html>
And particularly..
<http://64.18.163.122/rgagnon/framesets/java-js.html>
Try to forget everything Sun told you about JS.
For the sake of your users, and the internet in general.
Andrew T.