|
Java™ by example!
|
|
|
How do I get the size of my Applet?
The method getSize() inherited from the Component class provides a Dimension object carrying the actual dimensions of the Applet (as currently set in the hosting HTML page). AppletSizeDemo.java:
Further Information
Author of answer: Sandor Gyarmati
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|