public WebScarab(String[] args) {
public WebScarab() {
    public WebScarab(String[] args) {        initComponents();                // capture STDOUT and STDERR to a TextArea        System.setOut(redirectOutput(stdoutTextArea, System.out));        System.setErr(redirectOutput(stderrTextArea, System.err));                // create the framework        _framework = new Framework();                // load the properties        _prop = Preferences.getPreferences();                // load the conversation log GUI plugin        addPlugin(new ConversationLog(_framework));        // load the TreeView GUI plugin        addPlugin(new URLTreePanel(_framework));                // create the plugins, and their GUI's                // Proxy plugin        Proxy proxy = new Proxy(_framework);        _framework.addPlugin(proxy);                // load the proxy modules        ManualEdit me = new ManualEdit();        proxy.addPlugin(me);                RevealHidden rh = new RevealHidden();        proxy.addPlugin(rh);                BrowserCache bc = new BrowserCache();        proxy.addPlugin(bc);                CookieTracker ct = new CookieTracker(proxy.getCookieJar());        proxy.addPlugin(ct);                BeanShell bs = new BeanShell();        proxy.addPlugin(bs);                // create the proxy GUI panels        ProxyPanel proxyPanel = new ProxyPanel(proxy);        proxyPanel.addPlugin(new ManualEditPanel(me));        proxyPanel.addPlugin(new MiscPanel(rh, bc, ct));        proxyPanel.addPlugin(new BeanShellPanel(bs));        addPlugin(proxyPanel);                // Spider plugin        Spider spider = new Spider(_framework);        _framework.addPlugin(spider);        addPlugin(new SpiderPanel(spider));                // ManualRequest Plugin        ManualRequest manualrequest = new ManualRequest(_framework);        _framework.addPlugin(manualrequest);        addPlugin(new ManualRequestPanel(manualrequest));                if (args != null && args.length ==1) {            try {                if (FileSystemStore.isExistingSession(args[0])) {                    FileSystemStore store = new FileSystemStore(args[0]);                    _framework.setSessionStore(store);                } else {                    System.err.println("No session found in " + args[0]);                }            } catch (StoreException se) {                // pop up an alert dialog box or something                System.err.println("Error loading session : " + se);            }        } else {            // This could/should be done as a pop-up alert, or a File/Open or File/New dialog?            System.out.println("Data will not be saved unless you create or open a session");        }    }