How about this:
boolean firstLoop = false;
while (firstLoop != true)
{
try
{
password = scanReader.nextLine ();
passwordLength =...
Type: Posts; User: javapenguin
How about this:
boolean firstLoop = false;
while (firstLoop != true)
{
try
{
password = scanReader.nextLine ();
passwordLength =...
Also, it's
while (firstLoop == true)
anyway.
It looks like firstloop is never set to false.
Great way for an infinite loop.