Skip to main content
gamedev.net
🔒 Locked

[java] error message??

Started by sushi-one 1 reply 300+ views
Original Post
sushi-one
sushi-one
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
Hans-Petter Harveg
Aldacron
Aldacron
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.