BouncingLines.java uses or overrides a deprecated API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kirbz
    New Member
    • Mar 2010
    • 1

    BouncingLines.java uses or overrides a deprecated API

    What if the Java error says:

    Note: BouncingLines.j ava uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.

    What does it means?
  • anurag275125
    New Member
    • Aug 2009
    • 79

    #2
    It means that some of the methods that you're using in the program is deprecated in the Java API you're using. Try to compile and run your program using old Java API, e.g. if you're using JDK1.5 then try your program on JDK1.2, or lower versions.

    Comment

    Working...