I wanted to see how Dr. JAVA worked, so I got some code for it here: (Apparently I can't post links :( )
I tried running it in Dr. JAVA, but I got 8 errors?
Pretty much this over and over:
File: /Users/myname/Documents/Matches.java [line: 116]
Warning: [deprecation] size() in java.awt.Component has been deprecated
What's going on?
The code you are using apparently is using a deprecated method, size, that Sun is trying to phase out of Java. Future versions of Java may not support this method, and programs that use the method may crash. Best to go to the API for the class that is calling that method and read what it states about it. It will often say why it is being deprecated and usually states what can be called in its place. Best of luck, and HTH.
Adding more, the API explain what's the alternative you have. sciguy77, you can follows those suggestion in safer way.
hai i am rajmohan and i am a beginner to java i expect help from all members of the forums.......thank u.........
Welcome to our community.
Originally Posted by csrajmohan
Please read our FAQ page before posting again here in this forum, it's really helpful to you. Actually you have choose the wrong sub-forum to introduce yourself. So please choose the correct forum next time. And also please don't post your questions on others thread if your one is not related to.