Ignore:
Timestamp:
2018-12-18T19:23:21+13:00 (5 years ago)
Author:
ak19
Message:
  1. Some dialogs do not exist when GLI starts up and becomes visible. These dialogs only get created when the user launches them, such as the new collection dialog appearing when you choose it through the file menu. When testing, such locally instantiated dialogs need to have setNamesRecursively() called on their GUI components too before setVisible() is called on them. 2. Leaving in instances of what I think are safe calls to SwingUntilities.invokeLater() to fix EDT violation exceptions detected during testing, but not committing those cases where I've made the change that actually need proper fixing by using SwingWorker threads.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/gui/NewCollectionDetailsPrompt.java

    r25789 r32712  
    9797     */
    9898    public NewCollectionDetailsPrompt() {
    99     super(Gatherer.g_man, true);       
     99    super(Gatherer.g_man, true);
    100100    this.cancelled = true;
    101101        this.setComponentOrientation(Dictionary.getOrientation());
     
    254254    Dimension screen_size = Configuration.screen_size;
    255255    setLocation((screen_size.width - SIZE.width) / 2, (screen_size.height - SIZE.height) / 2);
     256
     257    TestingPreparation.setNamesRecursively(this);
     258   
    256259    setVisible(true);
    257260    }
Note: See TracChangeset for help on using the changeset viewer.