else if(Debug.ON && (args[i].equals("-p") || args[i].equals("--preferences"))) {
else if((args[i].equals("-p") || args[i].equals("--preferences"))) {
    public static void main(String args[]) {        SplashScreen splashScreen; // Splashscreen instance.        int          i;            // Index in the command line arguments.        // - Command line parsing -------------------------------------        // ------------------------------------------------------------        for(i = 0; i < args.length; i++) {            // Print version.            if(args[i].equals("-v") || args[i].equals("--version"))                printVersion();            // Print help.            else if(args[i].equals("-h") || args[i].equals("--help"))                printUsage();            // Bookmarks handling.            else if(args[i].equals("-b") || args[i].equals("--bookmarks")) {                if(i >= args.length - 1)                    printError("Missing FILE parameter to " + args[i]);                com.mucommander.bookmark.BookmarkManager.setBookmarksFile(args[++i]);            }            // Configuration handling.            else if(args[i].equals("-c") || args[i].equals("--configuration")) {                if(i >= args.length - 1)                    printError("Missing FILE parameter to " + args[i]);                ConfigurationManager.setConfigurationFile(args[++i]);            }            // Shell history.            else if(args[i].equals("-s") || args[i].equals("--shell-history")) {                if(i >= args.length - 1)                    printError("Missing FILE parameter to " + args[i]);                ShellHistoryManager.setHistoryFile(args[++i]);            }            // Keymap file.            else if(args[i].equals("-k") || args[i].equals("--keymap")) {                if(i >= args.length - 1)                    printError("Missing FILE parameter to " + args[i]);                com.mucommander.ui.action.ActionKeymap.setActionKeyMapFile(args[++i]);            }            // Toolbar file.            else if(args[i].equals("-t") || args[i].equals("--toolbar")) {                if(i >= args.length - 1)                    printError("Missing FILE parameter to " + args[i]);                com.mucommander.ui.ToolBar.setDescriptionFile(args[++i]);            }            // Commandbar file.            else if(args[i].equals("-C") || args[i].equals("--commandbar")) {                if(i >= args.length - 1)                    printError("Missing FILE parameter to " + args[i]);                com.mucommander.ui.CommandBar.setDescriptionFile(args[++i]);            }            // Debug options.            else if(Debug.ON && (args[i].equals("-n") || args[i].equals("--no-debug")))                Debug.setEnabled(false);            else if(Debug.ON && (args[i].equals("-d") || args[i].equals("--debug")))                Debug.setEnabled(true);            // Preference folder.            else if(Debug.ON && (args[i].equals("-p") || args[i].equals("--preferences"))) {                if(i >= args.length - 1)                    printError("Missing FOLDER parameter to " + args[i]);                PlatformManager.setPreferencesFolder(new java.io.File(args[++i]));            }            // Illegal argument.            else                break;        }        // - MAC OS init ----------------------------------------------        // ------------------------------------------------------------        // If muCommander is running under Mac OS X (how lucky!), add some        // glue for the main menu bar and other OS X specifics.        if(PlatformManager.OS_FAMILY==PlatformManager.MAC_OS_X) {            // Configuration needs to be loaded before any sort of GUI creation            // is performed - if we're to use the metal look, we need to know about            // it right about now.            ConfigurationManager.loadConfiguration();            // Use reflection to create an OSXIntegration instance so that ClassLoader            // doesn't throw an NoClassDefFoundException under platforms other than Mac OS X            try {                Class osxIntegrationClass = Class.forName("com.mucommander.ui.macosx.OSXIntegration");                Constructor constructor = osxIntegrationClass.getConstructor(new Class[]{});                constructor.newInstance(new Object[]{});            }            catch(Exception e) {                if(Debug.ON) Debug.trace("Exception thrown while initializing Mac OS X integration");            }        }        // - muCommander boot -----------------------------------------        // ------------------------------------------------------------        // Shows the splash screen.        splashScreen = new SplashScreen(RuntimeConstants.VERSION, "Loading preferences...");        // If we're not running under OS_X, preferences haven't been loaded yet.        if(PlatformManager.OS_FAMILY != PlatformManager.MAC_OS_X)            ConfigurationManager.loadConfiguration();        // Traps VM shutdown        Runtime.getRuntime().addShutdownHook(new ShutdownHook());		        // Loads dictionary        splashScreen.setLoadingMessage("Loading dictionary...");        com.mucommander.text.Translator.loadDictionaryFile();        // Loads bookmarks        splashScreen.setLoadingMessage("Loading bookmarks...");        com.mucommander.bookmark.BookmarkManager.loadBookmarks();        // Loads shell history        splashScreen.setLoadingMessage("Loading shell history...");        ShellHistoryManager.loadHistory();        // Inits CustomDateFormat to make sure that its ConfigurationListener is added        // before FileTable, so CustomDateFormat gets notified of date format changes first        com.mucommander.text.CustomDateFormat.init();        // Preload icons        splashScreen.setLoadingMessage("Loading icons...");        com.mucommander.ui.icon.FileIcons.init();        // Loads the ActionKeymap file        splashScreen.setLoadingMessage("Loading action keymap...");        com.mucommander.ui.action.ActionKeymap.loadActionKeyMap();        // Loads the ToolBar's description file        splashScreen.setLoadingMessage("Loading toolbar description...");        com.mucommander.ui.ToolBar.loadDescriptionFile();        // Loads the CommandBar's description file        splashScreen.setLoadingMessage("Loading command bar description...");        com.mucommander.ui.CommandBar.loadDescriptionFile();        // Creates the initial main frame using any initial path specified by the command line.        splashScreen.setLoadingMessage("Initializing window...");        for(; i < args.length; i += 2) {            if(i < args.length - 1)                WindowManager.createNewMainFrame(args[i], args[i + 1]);            else                WindowManager.createNewMainFrame(args[i], null);        }        // If no initial path was specified, start a default main window.        if(WindowManager.getCurrentMainFrame() == null)            WindowManager.createNewMainFrame();        // Check for newer version unless it was disabled        if(ConfigurationManager.getVariableBoolean("prefs.check_for_updates_on_startup", true))            new CheckVersionDialog(WindowManager.getCurrentMainFrame(), false);        // Dispose splash screen        splashScreen.dispose();    }