예제 #1
0
  private URL[] queryForURL() {
    NewReadingListDialog dialog = new NewReadingListDialog(this);
    dialog.open();

    String urlsS = !dialog.hasBeenCanceled() ? dialog.getURLs() : null;

    return StringUtils.strToURLs(urlsS);
  }
예제 #2
0
      /** Invoked when an action occurs. */
      public void actionPerformed(ActionEvent e) {
        CollectionItemsSelectionDialog dialog =
            new CollectionItemsSelectionDialog(BasicGuideDialog.this);

        tfAddress.setText(dialog.open("", new ArrayList(), true));
        if (!dialog.hasBeenCanceled()) NewReadingListDialog.super.doAccept();
      }