View Single Post
  #2 (permalink)  
Old 08-07-2007, 07:29 AM
trill trill is offline
Member
 
Join Date: Jul 2007
Posts: 40
trill is on a distinguished road
I'm rusty on my Java, and I'm not at a computer in which I can test this.

However, I believe if you want to compare two strings in Java you need to use the .equals method rather than ==.
example
Code:
if(password.getText().equals("NateTheWizard")){ }
Greetings.
Reply With Quote