Changeset 6790 for trunk/gli/src
- Timestamp:
- 2004-02-12T15:52:47+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/ExportCollectionPrompt.java
r6387 r6790 320 320 args[1] += "exported_"+cd_title.replaceAll("\\s",""); 321 321 } 322 ResultDialog result_dialog = new ResultDialog(success, extra );322 ResultDialog result_dialog = new ResultDialog(success, extra, args); 323 323 result_dialog.setVisible(true); // Blocks 324 324 result_dialog.dispose(); … … 524 524 extends ModalDialog { 525 525 526 private Dimension size = new Dimension( 400,300);526 private Dimension size = new Dimension(600,300); 527 527 private ResultDialog self; 528 528 529 public ResultDialog(boolean success, String extra ) {529 public ResultDialog(boolean success, String extra, String [] args) { 530 530 super(Gatherer.g_man, Dictionary.get("ExportCollectionPrompt.Successful_Title"), true); 531 531 … … 538 538 JLabel result_label = new JLabel(); 539 539 if(success) { 540 Dictionary.registerText(result_label, "ExportCollectionPrompt.Successful_Export" );540 Dictionary.registerText(result_label, "ExportCollectionPrompt.Successful_Export", args); 541 541 } 542 542 else { 543 Dictionary.registerText(result_label, "ExportCollectionPrompt.Failed_Export" );543 Dictionary.registerText(result_label, "ExportCollectionPrompt.Failed_Export", args); 544 544 } 545 545
Note:
See TracChangeset
for help on using the changeset viewer.