when i compile my programm the output is :

Note: C:UsersOwnerDesktopNew folder (2)Animate.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Can some one help me please?

Recommended Answers

All 4 Replies

perhaps add -Xlint:deprecation to the compilation options?
Also, this is the C++ thread.

where i have to add it?

You would put that option on the command-line when you compile the program after the word javac

Hopefully, this thread can be moved to the actual java forum.

Transfered from c++ forum

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.