I've been trying to resize an applet on page resize using Javascript and have come across some weirdness in the behaviour of the plugin.
Basically it looks like after a resize something is reverting the clipping boundaries on the applet causing the applet not to render properly.
Interestingly if you change one axis, then change the other it seems to sort it out.
Also: I'm not certain of the desired behaviour but it is nessecary to both change the DOM size for the applet element, and then call the resize method on the applet.
This is on Mac OSX 10.5.4, Firefox 3
Java Plug-in 1.5.0
Using JRE version 1.5.0_13 Java HotSpot(TM) Client VM
I've mocked up a test harness for this at the follwing URL:
http://www.marcuscobden.co.uk/stuff/2008-07/applet/
Logged In: YES
user_id=1879346
Originator: YES
The same behaviour occurs in the latest version of Opera for OS X.
I have also filed a bug with Mozilla.
https://bugzilla.mozilla.org/show_bug.cgi?id=451882