Jump to content
  • Advertisement

Archived

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

sushi-one

[java] error message??

This topic is 5378 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
deprecated just means it''s been replaced, nothing more, and I think size() was replaced by getsize() IIRC

Share this post


Link to post
Share on other sites
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!