8990919293949596979899
out.print("Username: "); out.flush(); user = in.readLine(); } if (password == null) { password = new PasswordPrompt("Password: ", out) .getPassword(in); } } catch (IOException e) { System.out.println("Unable to prompt for login."); System.exit(1);