when i compile my programm the output is :

Note: C:\Users\Owner\Desktop\New folder (2)\Animate.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Can some one help me please?


The compiler has found some potential problems in your code and recommends that you use the -Xlint option of the javac command to see the full text of the warning/error messages.

Add the -Xlint option to the compiler's options and recompile the program.

what are the -xlint options ?

Read the API doc for the javac command. I use -Xlint to get all the messages.

D:\Java\jdk1.6.0_29\bin\javac.exe -Xlint ListCombiner.java

can i write in my program or ?

The -Xlint option goes on the command line with the javac command.

Do you know what a command line is?
Do you know about execcuting commands by typing them in a command prompt window?

i am beginner in java :/

Using the command line and commands is part of the OS. It has nothing to do with java.
The javac.exe program is one of the many,many programs that can be executed on a command line. Others include: notepad.exe, word.exe, Firefox.exe , Any program with a .exe extension can be executed on a command line.

hey dude! if your Animate.java code isn't too big, post it here - seems like you're trying to use some super old code.