This page last changed on Nov 09, 2010 by stepheneb.

Here you will find some notes about Javascript and Applet integration in various browsers/OSes.

Tip: Tracing and debugging applications in Java Web Start and Java Applets

Firefox does not work


Javascript calls to applet methods are executed unprivileged (the whole stack). In the applet, wrapping privileged code with:

AccessController.doPrivileged(new PrivilegedAction() {
  public Object run() {
    // do priv code here
    return null;


Javascript can only call methods on an applet when the page is served from the same domain as the applet jars.


Not tested...

Document generated by Confluence on Jan 27, 2014 16:56