http://bugzilla.mozilla.org/show_bug.cgi?id=315972
I won't be able to resolve this problem until I get hold of one of these keyboards. But Apple makes it very difficult to obtain one outside of Japan (it's not available from the US "Apple Store", and the Japan Apple Store won't ship to addresses outside of Japan). I've not yet found any way around this.
http://bugzilla.mozilla.org/show_bug.cgi?id=277067
Recent versions of the Java Embedding Plugin (0.9.5+e and later) contain a workaround for this problem, which seems to (mostly) eliminate it.
The problem keeps getting worse (particularly with the latest Firefox alphas and nightlies). But it seems to have many different causes, so it's very difficult to pin down. The Java Embedding Plugin has long had workarounds for this set of problems. But I keep needing to revise the workarounds as new cases surface.
To get an idea of the scale of the problem, add the following to the Java Control Panel's "Runtime Parameters", and watch the messages scroll by in the Java Console:
-Djep.debug.updates=true
Apple's JVM doesn't have access to the browser's cookie store when you're using any other browser than Safari. There is a workaround for this (you can make the applet store cookies itself), but many applet authors seem to be unaware of this (or unwilling to use it).