code: public static String showPasswordDialog(WindowBasedTextGUI textGUI, String title, String description, String initialContent) {
          TextInputDialog textInputDialog = new TextInputDialogBuilder()
                  .setTitle(title)
                  .setDescription(description)
                  .setInitialContent(initialContent)
                  .setPasswordInput(true)
                  .build();
          return textInputDialog.showDialog(textGUI);
      }
docs: Shortcut for quickly showing a {@code TextInputDialog} with password masking
  @param textGUI GUI to show the dialog on
  @param title Title of the dialog
  @param description Description of the dialog
  @param initialContent What content to place in the text box initially
  @return The string the user typed into the text box, or {@code null} if the dialog was cancelled