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