Package net.datacrow.console.windows.log

Examples of net.datacrow.console.windows.log.LogForm


              upgraded |= createIndexes();
            }

            if (upgraded) {
                DcSwingUtilities.displayMessage("The upgrade was successful. Data Crow will now continue.");
                new LogForm();
                DataCrow.showSplashScreen(true);
            }
           
        } catch (Exception e) {
            String msg = e.toString() + ". Data conversion failed. " +
View Full Code Here


   
    public void start() {
        try {
            boolean upgraded = false;
            Version v = DatabaseManager.getVersion();
            LogForm lf = null;
            if (v.isOlder(new Version(3, 9, 2, 0))) {
                lf = new LogForm();
                DcSwingUtilities.displayMessage(
                        "Data Crow will perform a non critical upgrade. This process will take a couple of minutes.");
              upgraded = fillUIPersistFields();
            }

            if (v.isOlder(new Version(3, 9, 6, 0))) {
                lf = new LogForm();
                DcSwingUtilities.displayMessage(
                        "Data Crow will perform a non critical upgrade to clear unwanted characters from languages, countries and other items.");
                upgraded = cleanupNames();
            }
           
            if (v.isOlder(new Version(3, 9, 8, 0))) {
                lf = new LogForm();
                DcSwingUtilities.displayMessage(
                    "- Ghost references will be removed. \n " +
                    "- The names of all persons (actors, authors, etc) will be formatted to read \"Lastname, Firstname\".\n" +
                    "- The sort index for persons will be recalculated.");
                upgraded = cleanupReferences();
                upgraded = reverseNames();
                upgraded = fillUIPersistFieldsPersons();
            }
           
            if (v.isOlder(new Version(3, 9, 9, 0))) {
                lf = new LogForm();
                DcSwingUtilities.displayMessage(
                        "- Names of authors will be corrected. \n" +
                        "- Pictures of previously deleted items will now be removed. This is a non crucial system task which can take a few minutes.");
                upgraded = cleanupPictures();
                upgraded = reverseAuthorNames();
            }
           
            if (upgraded) {
                lf.close();
                DcSwingUtilities.displayMessage(
                        "The upgrade was successful. Data Crow will now continue.");
                DataCrow.showSplashScreen(true);
            }
           
View Full Code Here

TOP

Related Classes of net.datacrow.console.windows.log.LogForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.