debugMenu = new javax.swing.JMenu(); proxyDebugMenu = new javax.swing.JMenu(); proxyDebugRequestCheckBoxMenuItem = new javax.swing.JCheckBoxMenuItem(); proxyDebugResponseCheckBoxMenuItem = new javax.swing.JCheckBoxMenuItem(); manualDebugMenu = new javax.swing.JMenu(); manualDebugRequestCheckBoxMenuItem = new javax.swing.JCheckBoxMenuItem(); manualDebugResponseCheckBoxMenuItem = new javax.swing.JCheckBoxMenuItem();
    private void initComponents() {//GEN-BEGIN:initComponents        java.awt.GridBagConstraints gridBagConstraints;        mainSplitPane = new javax.swing.JSplitPane();        mainTabbedPane = new javax.swing.JTabbedPane();        jSplitPane1 = new javax.swing.JSplitPane();        stdoutScrollPane = new javax.swing.JScrollPane();        stdoutTextArea = new javax.swing.JTextArea();        stderrScrollPane = new javax.swing.JScrollPane();        stderrTextArea = new javax.swing.JTextArea();        mainMenuBar = new javax.swing.JMenuBar();        fileMenu = new javax.swing.JMenu();        newMenuItem = new javax.swing.JMenuItem();        openMenuItem = new javax.swing.JMenuItem();        exitMenuItem = new javax.swing.JMenuItem();        toolsMenu = new javax.swing.JMenu();        proxyMenuItem = new javax.swing.JMenuItem();        cookieJarMenuItem = new javax.swing.JMenuItem();        transcoderMenuItem = new javax.swing.JMenuItem();        saveConfigMenuItem = new javax.swing.JMenuItem();        helpMenu = new javax.swing.JMenu();        aboutMenuItem = new javax.swing.JMenuItem();        debugMenu = new javax.swing.JMenu();        proxyDebugMenu = new javax.swing.JMenu();        proxyDebugRequestCheckBoxMenuItem = new javax.swing.JCheckBoxMenuItem();        proxyDebugResponseCheckBoxMenuItem = new javax.swing.JCheckBoxMenuItem();        manualDebugMenu = new javax.swing.JMenu();        manualDebugRequestCheckBoxMenuItem = new javax.swing.JCheckBoxMenuItem();        manualDebugResponseCheckBoxMenuItem = new javax.swing.JCheckBoxMenuItem();        getContentPane().setLayout(new java.awt.GridBagLayout());        setTitle("WebScarab");        addWindowListener(new java.awt.event.WindowAdapter() {            public void windowClosing(java.awt.event.WindowEvent evt) {                exitForm(evt);            }        });        mainSplitPane.setBorder(null);        mainSplitPane.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);        mainSplitPane.setResizeWeight(1.0);        mainSplitPane.setContinuousLayout(true);        mainSplitPane.setAutoscrolls(true);        mainTabbedPane.setMinimumSize(new java.awt.Dimension(300, 100));        mainTabbedPane.setPreferredSize(new java.awt.Dimension(1280, 1024));        mainSplitPane.setLeftComponent(mainTabbedPane);        jSplitPane1.setResizeWeight(0.5);        jSplitPane1.setMinimumSize(new java.awt.Dimension(56, 40));        jSplitPane1.setOneTouchExpandable(true);        jSplitPane1.setPreferredSize(new java.awt.Dimension(18, 80));        stdoutScrollPane.setHorizontalScrollBarPolicy(javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);        stdoutScrollPane.setViewportBorder(new javax.swing.border.TitledBorder(null, "stdout", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12)));        stdoutScrollPane.setMinimumSize(new java.awt.Dimension(22, 40));        stdoutScrollPane.setPreferredSize(new java.awt.Dimension(3, 40));        stdoutTextArea.setBackground(new java.awt.Color(204, 204, 204));        stdoutTextArea.setEditable(false);        stdoutScrollPane.setViewportView(stdoutTextArea);        jSplitPane1.setLeftComponent(stdoutScrollPane);        stderrScrollPane.setHorizontalScrollBarPolicy(javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);        stderrScrollPane.setViewportBorder(new javax.swing.border.TitledBorder(null, "stderr", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12)));        stderrScrollPane.setMinimumSize(new java.awt.Dimension(22, 40));        stderrScrollPane.setPreferredSize(new java.awt.Dimension(3, 40));        stderrTextArea.setBackground(new java.awt.Color(204, 204, 204));        stderrTextArea.setEditable(false);        stderrScrollPane.setViewportView(stderrTextArea);        jSplitPane1.setRightComponent(stderrScrollPane);        mainSplitPane.setRightComponent(jSplitPane1);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.weighty = 1.0;        getContentPane().add(mainSplitPane, gridBagConstraints);        fileMenu.setMnemonic('F');        fileMenu.setText("File");        newMenuItem.setMnemonic('N');        newMenuItem.setText("New");        newMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                newMenuItemActionPerformed(evt);            }        });        fileMenu.add(newMenuItem);        openMenuItem.setMnemonic('O');        openMenuItem.setText("Open");        openMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                openMenuItemActionPerformed(evt);            }        });        fileMenu.add(openMenuItem);        exitMenuItem.setMnemonic('X');        exitMenuItem.setText("Exit");        exitMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                exitMenuItemActionPerformed(evt);            }        });        fileMenu.add(exitMenuItem);        mainMenuBar.add(fileMenu);        toolsMenu.setMnemonic('T');        toolsMenu.setText("Tools");        proxyMenuItem.setText("Proxies");        proxyMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                proxyMenuItemActionPerformed(evt);            }        });        toolsMenu.add(proxyMenuItem);        cookieJarMenuItem.setText("Shared Cookies");        cookieJarMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                cookieJarMenuItemActionPerformed(evt);            }        });        toolsMenu.add(cookieJarMenuItem);        transcoderMenuItem.setText("Transcoder");        transcoderMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                transcoderMenuItemActionPerformed(evt);            }        });        toolsMenu.add(transcoderMenuItem);        saveConfigMenuItem.setText("Save Configuration");        saveConfigMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                saveConfigMenuItemActionPerformed(evt);            }        });        toolsMenu.add(saveConfigMenuItem);        mainMenuBar.add(toolsMenu);        helpMenu.setMnemonic('H');        helpMenu.setText("Help");        aboutMenuItem.setMnemonic('A');        aboutMenuItem.setText("About");        aboutMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                aboutMenuItemActionPerformed(evt);            }        });        helpMenu.add(aboutMenuItem);        debugMenu.setText("Debug");        proxyDebugMenu.setText("Proxy");        proxyDebugRequestCheckBoxMenuItem.setText("Requests");        proxyDebugRequestCheckBoxMenuItem.setToolTipText("Enable this to write a byte for byte copy to your system TEMP directory");        proxyDebugRequestCheckBoxMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                proxyDebugRequestCheckBoxMenuItemActionPerformed(evt);            }        });        proxyDebugMenu.add(proxyDebugRequestCheckBoxMenuItem);        proxyDebugResponseCheckBoxMenuItem.setText("Responses");        proxyDebugResponseCheckBoxMenuItem.setToolTipText("Enable this to write a byte for byte copy to the system TEMP dir");        proxyDebugResponseCheckBoxMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                proxyDebugResponseCheckBoxMenuItemActionPerformed(evt);            }        });        proxyDebugMenu.add(proxyDebugResponseCheckBoxMenuItem);        debugMenu.add(proxyDebugMenu);        manualDebugMenu.setText("ManualRequest");        manualDebugRequestCheckBoxMenuItem.setText("Requests");        manualDebugRequestCheckBoxMenuItem.setToolTipText("Enable this to write a byte for byte copy to your system TEMP directory");        manualDebugRequestCheckBoxMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                manualDebugRequestCheckBoxMenuItemActionPerformed(evt);            }        });        manualDebugMenu.add(manualDebugRequestCheckBoxMenuItem);        manualDebugResponseCheckBoxMenuItem.setText("Responses");        manualDebugResponseCheckBoxMenuItem.setToolTipText("Enable this to write a byte for byte copy to the system TEMP dir");        manualDebugResponseCheckBoxMenuItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                manualDebugResponseCheckBoxMenuItemActionPerformed(evt);            }        });        manualDebugMenu.add(manualDebugResponseCheckBoxMenuItem);        debugMenu.add(manualDebugMenu);        helpMenu.add(debugMenu);        mainMenuBar.add(helpMenu);        setJMenuBar(mainMenuBar);        setSize(new java.awt.Dimension(924, 768));    }//GEN-END:initComponents