Recompile with -Xlint
<p>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:</p>

<pre><code>Note: ./au/edu/uow/UserInterface/UserInterface.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
</code></pre>

<p>I have been searching before to solve this problem. The solution was to recompile it with another version of compiler. </p>

<pre><code>javac -source 1.4 File.java
</code></pre>

<p>or </p>

<pre><code>   javac   Xlint File.java
</code></pre>

<p>Why this warning happens? If it is because of using deprecated functions, is there anyway to find the problem. To not happen again!</p>
