Hi, all. Quick question about Applets. (I'm a convert after years of using WebStart.

)
I'm launching an Applet with:
1
| <applet ... width="512" height="384"></applet> |
But then when the Applet runs,
1 2 3 4 5 6
| public class MyApplet extends Applet { public void init() { System.out.println("Size: " + getWidth() + " x " + getHeight()); } } |
its size is slightly larger than I specified (e.g., 534x400).
Can anyone tell my why this is? And is there a simple fix for it?
I'm seeing the problem on IE8, but not Chrome. (Yeah, I know. Obvious answer: don't use IE8.)
Thanks,
Simon