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

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

Jump to Post

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.