After writing a long GUI program and getting the right result in the eclipse the most horrible error is to run seam program in the terminal and get freak out by seeing this error:
Note: ./au/edu/uow/UserInterface/UserInterface.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
I have been searching before to solve this problem. The solution was to recompile it with another version of compiler.
javac -source 1.4 File.java
or
javac Xlint File.java
Why this warning happens? If it is because of using deprecated functions, is there anyway to find the problem. To not happen again!
The first time I compile my code with
This warning is not happening again.