Implemented readPassword for SwingConsole. It uses a separate dialog
with a JPasswordField