gridBagConstraints.gridy = 4;
gridBagConstraints.gridy = 5;
    private void initComponents() {//GEN-BEGIN:initComponents        java.awt.GridBagConstraints gridBagConstraints;        jSplitPane1 = new javax.swing.JSplitPane();        jScrollPane1 = new javax.swing.JScrollPane();        navigatorTree = new javax.swing.JTree();        viewPanel = new javax.swing.JPanel();        emptyPanel = new javax.swing.JPanel();        bugTree = new javax.swing.JTree();        reportPanel = new javax.swing.JPanel();        editProjectPanel = new javax.swing.JPanel();        jarFileLabel = new javax.swing.JLabel();        jarNameTextField = new javax.swing.JTextField();        addJarButton = new javax.swing.JButton();        jarFileListLabel = new javax.swing.JLabel();        sourceDirLabel = new javax.swing.JLabel();        srcDirTextField = new javax.swing.JTextField();        addSourceDirButton = new javax.swing.JButton();        sourceDirListLabel = new javax.swing.JLabel();        removeJarButton = new javax.swing.JButton();        removeSrcDirButton = new javax.swing.JButton();        jSeparator1 = new javax.swing.JSeparator();        browseJarButton = new javax.swing.JButton();        browseSrcDirButton = new javax.swing.JButton();        editProjectLabel = new javax.swing.JLabel();        jSeparator2 = new javax.swing.JSeparator();        findBugsButton = new javax.swing.JButton();        jSeparator4 = new javax.swing.JSeparator();        jScrollPane2 = new javax.swing.JScrollPane();        jarFileList = new javax.swing.JList();        jScrollPane3 = new javax.swing.JScrollPane();        sourceDirList = new javax.swing.JList();        jMenuBar1 = new javax.swing.JMenuBar();        fileMenu = new javax.swing.JMenu();        newProjectItem = new javax.swing.JMenuItem();        openProjectItem = new javax.swing.JMenuItem();        closeProjectItem = new javax.swing.JMenuItem();        jSeparator3 = new javax.swing.JSeparator();        exitItem = new javax.swing.JMenuItem();        setTitle("FindBugs");        addWindowListener(new java.awt.event.WindowAdapter() {            public void windowOpened(java.awt.event.WindowEvent evt) {                formWindowOpened(evt);            }            public void windowClosing(java.awt.event.WindowEvent evt) {                exitForm(evt);            }        });        jSplitPane1.setResizeWeight(0.3);        navigatorTree.setModel(createNavigatorTreeModel());        jScrollPane1.setViewportView(navigatorTree);        jSplitPane1.setLeftComponent(jScrollPane1);        viewPanel.setLayout(new java.awt.CardLayout());        viewPanel.add(emptyPanel, "EmptyPanel");        viewPanel.add(bugTree, "BugTree");        viewPanel.add(reportPanel, "ReportPanel");        editProjectPanel.setLayout(new java.awt.GridBagLayout());        jarFileLabel.setText("Jar file:");        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 2;        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(jarFileLabel, gridBagConstraints);        jarNameTextField.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                jarNameTextFieldActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 2;        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);        editProjectPanel.add(jarNameTextField, gridBagConstraints);        addJarButton.setText("Add");        addJarButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                addJarButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 3;        gridBagConstraints.gridy = 2;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(addJarButton, gridBagConstraints);        jarFileListLabel.setText("Jar Files:");        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 3;        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(jarFileListLabel, gridBagConstraints);        sourceDirLabel.setText("Source Dir:");        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 5;        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(sourceDirLabel, gridBagConstraints);        srcDirTextField.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                srcDirTextFieldActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 5;        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);        editProjectPanel.add(srcDirTextField, gridBagConstraints);        addSourceDirButton.setText("Add");        addSourceDirButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                addSourceDirButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 3;        gridBagConstraints.gridy = 5;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(addSourceDirButton, gridBagConstraints);        sourceDirListLabel.setText("Source Dirs:");        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 6;        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(sourceDirListLabel, gridBagConstraints);        removeJarButton.setText("Remove");        removeJarButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                removeJarButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 3;        gridBagConstraints.gridy = 3;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(removeJarButton, gridBagConstraints);        removeSrcDirButton.setText("Remove");        removeSrcDirButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                removeSrcDirButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 3;        gridBagConstraints.gridy = 6;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(removeSrcDirButton, gridBagConstraints);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 4;        gridBagConstraints.gridwidth = 4;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);        editProjectPanel.add(jSeparator1, gridBagConstraints);        browseJarButton.setText("...");        browseJarButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                browseJarButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 2;        gridBagConstraints.gridy = 2;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(browseJarButton, gridBagConstraints);        browseSrcDirButton.setText("...");        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 2;        gridBagConstraints.gridy = 5;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(browseSrcDirButton, gridBagConstraints);        editProjectLabel.setBackground(new java.awt.Color(0, 0, 204));        editProjectLabel.setFont(new java.awt.Font("Dialog", 1, 24));        editProjectLabel.setForeground(new java.awt.Color(255, 255, 255));        editProjectLabel.setText("Project");        editProjectLabel.setOpaque(true);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridwidth = 4;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        editProjectPanel.add(editProjectLabel, gridBagConstraints);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 1;        gridBagConstraints.gridwidth = 4;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);        editProjectPanel.add(jSeparator2, gridBagConstraints);        findBugsButton.setText("Find Bugs!");        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 8;        gridBagConstraints.gridwidth = 4;        gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);        editProjectPanel.add(findBugsButton, gridBagConstraints);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 7;        gridBagConstraints.gridwidth = 4;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);        editProjectPanel.add(jSeparator4, gridBagConstraints);        jScrollPane2.setPreferredSize(new java.awt.Dimension(259, 1));        jarFileList.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED));        jarFileList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);        jScrollPane2.setViewportView(jarFileList);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 3;        gridBagConstraints.gridwidth = 2;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        gridBagConstraints.weighty = 0.5;        editProjectPanel.add(jScrollPane2, gridBagConstraints);        jScrollPane3.setPreferredSize(new java.awt.Dimension(259, 1));        sourceDirList.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED));        sourceDirList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);        jScrollPane3.setViewportView(sourceDirList);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 6;        gridBagConstraints.gridwidth = 2;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        gridBagConstraints.weighty = 0.5;        editProjectPanel.add(jScrollPane3, gridBagConstraints);        viewPanel.add(editProjectPanel, "EditProjectPanel");        jSplitPane1.setRightComponent(viewPanel);        getContentPane().add(jSplitPane1, java.awt.BorderLayout.CENTER);        fileMenu.setText("File");        newProjectItem.setText("New Project");        newProjectItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                newProjectItemActionPerformed(evt);            }        });        fileMenu.add(newProjectItem);        openProjectItem.setText("Open Project");        fileMenu.add(openProjectItem);        closeProjectItem.setText("Close Project");        fileMenu.add(closeProjectItem);        fileMenu.add(jSeparator3);        exitItem.setText("Exit");        exitItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                exitItemActionPerformed(evt);            }        });        fileMenu.add(exitItem);        jMenuBar1.add(fileMenu);        setJMenuBar(jMenuBar1);        pack();    }//GEN-END:initComponents