condition == between string and constant
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/513832/how-do-i-compare-strings-in-java">How do I compare strings in Java?</a>  </p>
</blockquote>



<p>Someone can tell me why this condition</p>

<pre><code>if (lista.getString(0)=="username")
</code></pre>

<p>do not return true? I've used to try</p>

<pre><code>if (lista.getString(0)==lista.getString(0))
</code></pre>

<p>and dont work, and i have understand that is a language problem.</p>
