Ignore:
Timestamp:
2019-03-21T16:48:24+13:00 (5 years ago)
Author:
ak19
Message:

EDT related changes for setting up GUI testing worked okay with GLI but break client-GLI. Undoing these changes for the release at least.

File:
1 edited

Legend:

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

    r32725 r32920  
    7474    Gatherer.setGLIDirectoryPath(System.getProperty("user.dir") + File.separator);
    7575   
    76 
     76    // Create an instance of the Gatherer class, which will parse the args and prepare the rest of the GLI
     77    Gatherer gatherer = new Gatherer(args);
     78   
     79    // Display the GUI immediately
     80    gatherer.openGUI();
     81   
     82    /* 
    7783    // TESTING circumventing the old GUI event dispatch thread exceptions in GLI. Follows
    7884    // https://docs.oracle.com/javase/6/docs/api/javax/swing/package-summary.html#threading
     
    8187    // Schedule a job for the event-dispatching thread:
    8288        // creating and showing this application's GUI.
    83         SwingUtilities.invokeLater(new Runnable() {
     89
     90    SwingUtilities.invokeLater(new Runnable() {
    8491            public void run() {
    8592        // These lines used to be done immediate after setGLIDirectoryPath() call above
     
    93100            }
    94101        });
     102    */
    95103    }
    96104}
Note: See TracChangeset for help on using the changeset viewer.