Changeset 9058


Ignore:
Timestamp:
2005-02-16T12:08:01+13:00 (19 years ago)
Author:
mdewsnip
Message:

Removed splash screen. It is no longer needed because the GLI now opens fully before opening the last loaded collection.

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
1 deleted
3 edited

Legend:

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

    r9054 r9058  
    4646import org.greenstone.gatherer.file.FileAssociationManager;
    4747import org.greenstone.gatherer.gui.GUIManager;
    48 import org.greenstone.gatherer.gui.Splash;
    4948import org.greenstone.gatherer.gui.URLField;
    5049import org.greenstone.gatherer.gui.WarningDialog;
     
    326325
    327326
    328     public void run(Dimension size, Splash splash, GUIManager g_man)
     327    public void run(Dimension size, GUIManager g_man)
    329328    {
    330329    // Size and place the frame on the screen
     
    349348        size.height = Configuration.screen_size.height;
    350349    }
    351    
    352     if (splash != null) { splash.toFront(); }
    353350
    354351    if (!g_man_built) {
     
    379376    else {
    380377        g_man.setVisible(true);
    381     }
    382 
    383     if (splash != null) {
    384         // Hide the splash screen
    385         splash.setVisible(false);
    386         splash.destroy();
    387         splash = null;
    388378    }
    389379    }
  • trunk/gli/src/org/greenstone/gatherer/GathererApplet.java

    r9045 r9058  
    4141import org.greenstone.gatherer.feedback.ActionRecorderDialog;
    4242import org.greenstone.gatherer.gui.GUIManager;
    43 import org.greenstone.gatherer.gui.Splash;
    4443import org.greenstone.gatherer.util.Utility;
     44
    4545
    4646public class GathererApplet extends JApplet implements ActionListener
     
    201201    public void actionPerformed(ActionEvent e)
    202202    {
    203     Splash splash = null;
    204 
    205     gatherer.run(size, splash, g_man);
     203    gatherer.run(size, g_man);
    206204
    207205    // If there was an open collection last session, reopen it.
  • trunk/gli/src/org/greenstone/gatherer/GathererProg.java

    r9055 r9058  
    3333import org.greenstone.gatherer.feedback.ActionRecorderDialog;
    3434import org.greenstone.gatherer.gui.GUIManager;
    35 import org.greenstone.gatherer.gui.Splash;
     35
    3636
    3737/** Containing the main() method for the Gatherer, this class is the
     
    9292    }
    9393
    94     // Splash screen.
    95     Splash splash = new Splash();
    9694    GUIManager g_man
    9795        = gatherer.init(size, go.gsdl_path, go.gsdl3_path, go.local_library_path,
     
    9997                 go.no_load, go.filename, go.site_name,
    10098                 go.servlet_path, go.wget_version_str, go.wget_path);
    101     gatherer.run(size,splash,g_man);
     99    gatherer.run(size, g_man);
    102100
    103101    // If there was an open collection last session, reopen it.
Note: See TracChangeset for help on using the changeset viewer.