@Override
  protected String getAlertCaption() {

    assert !SwingUtilities.isEventDispatchThread();

    if (!hasChecked || isVisible()) {
      isMissingImages = CardDefinitions.isMissingImages();
      GeneralConfig.getInstance().setIsMissingFiles(isMissingImages);
      hasChecked = true;
    }
    if (isMissingImages) {
      return UiString.get(_S1);
    } else {
      return "";
    }
  }
  public DeckChooserDialog(final DeckType aDeckType, final String aDeckName) {

    super(ScreenController.getMainFrame(), UiString.get(_S2), new Dimension(300, 180));

    deckTypeCombo = getDeckTypeComboBox();
    deckTypeCombo.setSelectedItem(aDeckType);
    addDeckTypeComboBoxListener();

    decksPanel = new DecksPanel(aDeckName);
    decksPanel.setDeckType(aDeckType);

    setSaveButtonAction();

    refreshLayout();

    setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));

    setVisible(true);
  }