Hi, all. Quick question about Applets. (I’m a convert after years of using WebStart. )
I’m launching an Applet with:
<applet ... width="512" height="384"></applet>
But then when the Applet runs,
public class MyApplet extends Applet {
public void init() {
System.out.println("Size: " + getWidth() + " x " + getHeight());
// etc.
}
}
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