1. Repeated thread.
2. In okPassword(), don't use else instead keep checking for all three possibilities within the loop.
3. After loop check your status of variables.
Lets all take a deep breath....sometimes forums such as this are impersonal, and as a result certain statements can at times be conveyed and interpreted the wrong way. Lets all please keep this in mind when replying to others.
I just read the initial post and am unsure what the problem is so I will reiterate some of the previous questions: does this compile? Does it throw exceptions? If neither of those, does this behave differently that you require and if so, how?