about summary refs log tree commit diff stats
path: root/data/maps/the_orb/connections.txtpb
Commit message (Collapse)AuthorAgeFilesLines
* Separate The Orb's middle port into own regionStar Rauchenberger2025-09-281-1/+11
|
* Added the_orbStar Rauchenberger2025-08-171-0/+20
>39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.fourisland.instadisc.FirstRun;

import com.fourisland.instadisc.Database.Wrapper;
import com.fourisland.instadisc.DownloadItem.DownloadItemModeTest;
import javax.swing.JDialog;
import javax.swing.JFrame;

/**
 *
 * @author hatkirby
 */
public class FirstRunWizard implements Runnable {

    public void run()
    {
        Step1 s1 = new Step1(new JFrame(), true);
        s1.setVisible(true);
        if (StepEndResults.ok)
        {
            StepEndResults.ok = false;
            JDialog s2;
            
            if (StepEndResults.hasAccount)
            {
                s2 = new Step2(new JFrame(), true);
            } else {
                s2 = new Step2A(new JFrame(), true);
            }
            
            s2.setVisible(true);
            if (StepEndResults.ok)
            {
                StepEndResults.ok = false;
                DownloadItemModeTest dIMT = new DownloadItemModeTest(new JFrame(), true);
                dIMT.setVisible(true);
                if (StepEndResults.ok)
                {
                    StepEndResults.ok = false;
                    Step3 s3 = new Step3(new JFrame(), true);
                    s3.setVisible(true);
                    
                    Wrapper.setConfig("initCheck", "done");
                    Wrapper.setConfig("itemBufferSize", "10");
                    Wrapper.setConfig("verIDBufferSize", "10000");
                    Wrapper.setConfig("nextFilterID", "0");
                    Wrapper.setConfig("ipCheckValue", "1");
                    Wrapper.setConfig("ipCheckUnit", "day");
                    Wrapper.setConfig("useUnreadFlag", "true");
                }
            } else {
                run();
            }
        }
        System.exit(0);
    }
    
}