docs: private void loginButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cancelButtonActionPerformed
          char[] rgchPassword = passwordField.getPassword();
          char[] rgchRePassword = rePasswordField.getPassword();
          if (new String(rgchPassword).length() > 0)
          	if (!new String(rgchPassword).equalsIgnoreCase(new String(rgchRePassword)))
          	{
          		userMessage.setText("Passwords do not match - try again");
          		return;		// Try again
          	}
          loginDialog.setPassword(new String(rgchPassword));
          loginDialog.setUserName(userField.getText());
          loginDialog.setSaveInfo(saveInfoCheckbox.isSelected());
          returnStatus = LoginDialog.NEW_USER_OPTION;
          
          doClose(LoginDialog.NEW_USER_OPTION);
      }