@Override
			public void keyPressed(KeyEvent e) {
				if (e.getKeyCode() != KeyEvent.VK_ENTER) {
					displayWarning();
				}
			}
Construct a new PasswordDialog which may include user ID specification/prompt if either
{@code allowUserIdEntry} is true or a non-null {@code defaultUserId} has been specified.
The dialog optionally includes a message text area which supports the use of 
{@link #setErrorText(String)}.

@param title title of the dialog
@param serverType 'Server' or 'Key-store' designation
@param serverName name of server or keystore pathname
@param passPrompt password prompt to show in the dialog; may be null/empty, in which case
"Password:" is displayed next to the password field
@param allowUserIdEntry if true user ID entry will be supported
@param userIdPrompt User ID / Name prompt to show in the dialog, if null "User ID:" is prompt
if either {@code allowUserIdEntry} is true or a non-null {@code defaultUserId} has been specified.
@param defaultUserId default name when prompting for a name
@param hasMessages true if a message text area should be included allowing for use of
{@link #setErrorText(String)}
Ghidra/Framework/Docking/src/main/java/docking/widgets/PasswordDialog.java