Archived

This topic is now archived and is closed to further replies.

sushi-one

[java] error message??

Recommended Posts

sushi-one    100
Im just wondering about this warning: Main.java(90,17) : warning J5014: ''Dimension size()'' has been deprecated by the author of ''java.awt.Component'' its just so anoying, how can I get rid of it? (I''m not really good in english, so I don''t know what deprecated means, hehe ) Hans-Petter

Share this post


Link to post
Share on other sites
Aldacron    4544
Whenever you see a deprecated message like that, look up the method in the API javadocs. There you should find a note saying the method is deprecated and which method has replaced it. This goes for the Sun docs, and good 3rd party docs will do the same.

Share this post


Link to post
Share on other sites