|
-
Feb 13th, 2001, 10:52 AM
#1
Thread Starter
Hyperactive Member
Hi all,
I am trying to obtain the size of my applet, if I use size(), it complains saying that it is a depecrated api call, does anyone know what I should use?
Thanks
-
Feb 13th, 2001, 05:35 PM
#2
getSize
Use:
getSize
public Dimension getSize()
since:
size
public Dimension size()
Deprecated. As of JDK version 1.1, replaced by getSize().
-
Feb 14th, 2001, 11:13 AM
#3
Thread Starter
Hyperactive Member
Is there a good spot to show, what to use for deprecated api's?
For instance size() went to getSize()
Is there a web site that shows that kind of info?
By the way, your recommendation worked beautifully. Thanks!
-
Feb 14th, 2001, 12:03 PM
#4
http://java.sun.com/j2se/1.3/docs/api/java/awt/Component.html#getSize()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|