[java] applet windows
5 replies to this topic
Members - Reputation: 122
Posted 19 February 2000 - 03:03 PM
I don''t have my "Java in a Nutshell" handy, but if I remember right, GetBounds() will return a dimension object which has public variables for width and height or something similar. Look up the definitions for GetBounds() and the Dimension object.
Posted 20 February 2000 - 12:58 AM
Oh, sorry. I think it returns a Rectangle but it doesn''t really matter. Just do getBounds.width and getBounds().height to get ''em separately.