// Creates the initial main frame using any initial path specified by the command line.
printStartupMessage("Initializing window...");
String[] folders = new String[args.length - i];
System.arraycopy(args, i, folders, 0, folders.length);
WindowManager.createNewMainFrame(new CommandLineMainFrameBuilder(folders));
// If no initial path was specified, start a default main window.
if(WindowManager.getCurrentMainFrame() == null)
WindowManager.createNewMainFrame(new DefaultMainFramesBuilder());