1 | In Java, the width and height of the applet are obtained as follows: int width = getSize().width; int height = getSize().height; |
2 | These are the same width and height given in the <APPLET> tag: <APPLET ... WIDTH=... HEIGHT=... > |
3 | Note: All measurements are in pixels |