removeSrcDirButton.setMaximumSize(new java.awt.Dimension(80, 25)); removeSrcDirButton.setMinimumSize(new java.awt.Dimension(80, 25)); removeSrcDirButton.setPreferredSize(new java.awt.Dimension(80, 25));
removeSrcDirButton.setMaximumSize(new java.awt.Dimension(90, 25)); removeSrcDirButton.setMinimumSize(new java.awt.Dimension(90, 25)); removeSrcDirButton.setPreferredSize(new java.awt.Dimension(90, 25));
    private void initComponents() {//GEN-BEGIN:initComponents        java.awt.GridBagConstraints gridBagConstraints;        consoleSplitter = new javax.swing.JSplitPane();        viewPanel = new javax.swing.JPanel();        emptyPanel = new javax.swing.JPanel();        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();        jarFileListScrollPane = new javax.swing.JScrollPane();        jarFileList = new javax.swing.JList();        sourceDirListScrollPane = new javax.swing.JScrollPane();        sourceDirList = new javax.swing.JList();        classpathEntryLabel = new javax.swing.JLabel();        classpathEntryListLabel = new javax.swing.JLabel();        classpathEntryTextField = new javax.swing.JTextField();        browseClasspathEntryButton = new javax.swing.JButton();        addClasspathEntryButton = new javax.swing.JButton();        removeClasspathEntryButton = new javax.swing.JButton();        classpathEntryListScrollPane = new javax.swing.JScrollPane();        classpathEntryList = new javax.swing.JList();        jSeparator5 = new javax.swing.JSeparator();        sourceUpButton = new javax.swing.JButton();        sourceDownButton = new javax.swing.JButton();        classpathUpButton = new javax.swing.JButton();        classpathDownButton = new javax.swing.JButton();        bugTreePanel = new javax.swing.JPanel();        bugTreeBugDetailsSplitter = new javax.swing.JSplitPane();        groupByTabbedPane = new javax.swing.JTabbedPane();        byClassScrollPane = new javax.swing.JScrollPane();        byClassBugTree = new javax.swing.JTree();        byPackageScrollPane = new javax.swing.JScrollPane();        byPackageBugTree = new javax.swing.JTree();        byBugTypeScrollPane = new javax.swing.JScrollPane();        byBugTypeBugTree = new javax.swing.JTree();        bySummary = new javax.swing.JScrollPane();        bugSummaryEditorPane = new javax.swing.JEditorPane();        bugDetailsTabbedPane = new javax.swing.JTabbedPane();        bugDescriptionScrollPane = new javax.swing.JScrollPane();        bugDescriptionEditorPane = new javax.swing.JEditorPane();        sourceTextAreaScrollPane = new javax.swing.JScrollPane();        sourceTextArea = new javax.swing.JTextArea();        annotationTextAreaScrollPane = new javax.swing.JScrollPane();        annotationTextArea = new javax.swing.JTextArea();        consoleScrollPane = new javax.swing.JScrollPane();        consoleMessageArea = new javax.swing.JTextArea();        urlLabel = new javax.swing.JLabel();        logoLabel = new javax.swing.JLabel();        theMenuBar = new javax.swing.JMenuBar();        fileMenu = new javax.swing.JMenu();        newProjectItem = new javax.swing.JMenuItem();        openProjectItem = new javax.swing.JMenuItem();        recentProjectsMenu = new javax.swing.JMenu();        saveProjectItem = new javax.swing.JMenuItem();        saveProjectAsItem = new javax.swing.JMenuItem();        reloadProjectItem = new javax.swing.JMenuItem();        closeProjectItem = new javax.swing.JMenuItem();        jSeparator3 = new javax.swing.JSeparator();        loadBugsItem = new javax.swing.JMenuItem();        saveBugsItem = new javax.swing.JMenuItem();        jSeparator6 = new javax.swing.JSeparator();        exitItem = new javax.swing.JMenuItem();        viewMenu = new javax.swing.JMenu();        viewConsoleItem = new javax.swing.JCheckBoxMenuItem();        viewBugDetailsItem = new javax.swing.JCheckBoxMenuItem();        fullDescriptionsItem = new javax.swing.JCheckBoxMenuItem();        jSeparator7 = new javax.swing.JSeparator();        lowPriorityButton = new javax.swing.JRadioButtonMenuItem();        lowPriorityButton.setText(L10N.getLocalString("menu.lowpriority_item", "Low Priority"));        mediumPriorityButton = new javax.swing.JRadioButtonMenuItem();        highPriorityButton = new javax.swing.JRadioButtonMenuItem();        jSeparator8 = new javax.swing.JSeparator();        viewProjectItem = new javax.swing.JRadioButtonMenuItem();        viewBugsItem = new javax.swing.JRadioButtonMenuItem();        settingsMenu = new javax.swing.JMenu();        configureDetectorsItem = new javax.swing.JMenuItem();        helpMenu = new javax.swing.JMenu();        aboutItem = new javax.swing.JMenuItem();        getContentPane().setLayout(new java.awt.GridBagLayout());        addWindowListener(new java.awt.event.WindowAdapter() {            public void windowClosing(java.awt.event.WindowEvent evt) {                exitForm(evt);            }        });        consoleSplitter.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);        consoleSplitter.setResizeWeight(1.0);        consoleSplitter.setOneTouchExpandable(true);        consoleSplitter.addPropertyChangeListener(new java.beans.PropertyChangeListener() {            public void propertyChange(java.beans.PropertyChangeEvent evt) {                consoleSplitterPropertyChange(evt);            }        });        viewPanel.setLayout(new java.awt.CardLayout());        viewPanel.add(emptyPanel, "EmptyPanel");        viewPanel.add(reportPanel, "ReportPanel");        editProjectPanel.setLayout(new java.awt.GridBagLayout());        jarFileLabel.setFont(new java.awt.Font("Dialog", 0, 12));        jarFileLabel.setText("Archive or directory:");        jarFileLabel.setText(L10N.getLocalString("dlg.jarfile_lbl", "Archive or Directory:"));        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.setFont(new java.awt.Font("Dialog", 0, 12));        addJarButton.setText("Add");        addJarButton.setMaximumSize(new java.awt.Dimension(80, 25));        addJarButton.setMinimumSize(new java.awt.Dimension(80, 25));        addJarButton.setPreferredSize(new java.awt.Dimension(80, 25));        addJarButton.setText(L10N.getLocalString("dlg.add_btn", "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.setFont(new java.awt.Font("Dialog", 0, 12));        jarFileListLabel.setText("Archives/directories:");        jarFileListLabel.setText(L10N.getLocalString("dlg.jarlist_lbl", "Archives/Directories:"));        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.setFont(new java.awt.Font("Dialog", 0, 12));        sourceDirLabel.setText("Source directory:");        sourceDirLabel.setText(L10N.getLocalString("dlg.srcfile_lbl", "Source directory:"));        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 8;        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 = 8;        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.setFont(new java.awt.Font("Dialog", 0, 12));        addSourceDirButton.setText("Add");        addSourceDirButton.setMaximumSize(new java.awt.Dimension(80, 25));        addSourceDirButton.setMinimumSize(new java.awt.Dimension(80, 25));        addSourceDirButton.setPreferredSize(new java.awt.Dimension(80, 25));        addSourceDirButton.setText(L10N.getLocalString("dlg.add_btn", "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 = 8;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(addSourceDirButton, gridBagConstraints);        sourceDirListLabel.setFont(new java.awt.Font("Dialog", 0, 12));        sourceDirListLabel.setText("Source directories:");        sourceDirListLabel.setText(L10N.getLocalString("dlg.srclist_lbl", "Source directories:"));        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 9;        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(sourceDirListLabel, gridBagConstraints);        removeJarButton.setFont(new java.awt.Font("Dialog", 0, 12));        removeJarButton.setText("Remove");        removeJarButton.setMaximumSize(new java.awt.Dimension(80, 25));        removeJarButton.setMinimumSize(new java.awt.Dimension(80, 25));        removeJarButton.setPreferredSize(new java.awt.Dimension(80, 25));        removeJarButton.setText(L10N.getLocalString("dlg.remove_btn", "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.setFont(new java.awt.Font("Dialog", 0, 12));        removeSrcDirButton.setText("Remove");        removeSrcDirButton.setMaximumSize(new java.awt.Dimension(80, 25));        removeSrcDirButton.setMinimumSize(new java.awt.Dimension(80, 25));        removeSrcDirButton.setPreferredSize(new java.awt.Dimension(80, 25));        removeSrcDirButton.setText(L10N.getLocalString("dlg.remove_btn", "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 = 9;        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 = 1;        gridBagConstraints.gridwidth = 4;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);        editProjectPanel.add(jSeparator1, gridBagConstraints);        browseJarButton.setFont(new java.awt.Font("Dialog", 0, 12));        browseJarButton.setText("Browse");        browseJarButton.setMaximumSize(new java.awt.Dimension(80, 25));        browseJarButton.setMinimumSize(new java.awt.Dimension(80, 25));        browseJarButton.setPreferredSize(new java.awt.Dimension(80, 25));        browseJarButton.setText(L10N.getLocalString("dlg.browse_btn", "Browse"));        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.setFont(new java.awt.Font("Dialog", 0, 12));        browseSrcDirButton.setText("Browse");        browseSrcDirButton.setMaximumSize(new java.awt.Dimension(80, 25));        browseSrcDirButton.setMinimumSize(new java.awt.Dimension(80, 25));        browseSrcDirButton.setPreferredSize(new java.awt.Dimension(80, 25));        browseSrcDirButton.setText(L10N.getLocalString("dlg.browse_btn", "Browse"));        browseSrcDirButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                browseSrcDirButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 2;        gridBagConstraints.gridy = 8;        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);        editProjectLabel.setText(L10N.getLocalString("dlg.project_lbl", "Project"));        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 0;        gridBagConstraints.gridwidth = 4;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        editProjectPanel.add(editProjectLabel, 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(jSeparator2, gridBagConstraints);        findBugsButton.setMnemonic('B');        findBugsButton.setText("Find Bugs!");        findBugsButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                findBugsButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 21;        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 = 14;        gridBagConstraints.gridwidth = 4;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);        editProjectPanel.add(jSeparator4, gridBagConstraints);        jarFileListScrollPane.setPreferredSize(new java.awt.Dimension(259, 1));        jarFileList.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED));        jarFileList.setFont(new java.awt.Font("Dialog", 0, 12));        jarFileListScrollPane.setViewportView(jarFileList);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 3;        gridBagConstraints.gridwidth = 2;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weighty = 0.4;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(jarFileListScrollPane, gridBagConstraints);        sourceDirListScrollPane.setPreferredSize(new java.awt.Dimension(259, 1));        sourceDirList.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED));        sourceDirList.setFont(new java.awt.Font("Dialog", 0, 12));        sourceDirListScrollPane.setViewportView(sourceDirList);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 9;        gridBagConstraints.gridwidth = 2;        gridBagConstraints.gridheight = 3;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weighty = 0.1;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(sourceDirListScrollPane, gridBagConstraints);        classpathEntryLabel.setFont(new java.awt.Font("Dialog", 0, 12));        classpathEntryLabel.setText("Classpath entry:");        classpathEntryLabel.setText(L10N.getLocalString("dlg.classpathfile_lbl", "Classpath entry:"));        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 15;        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 3);        editProjectPanel.add(classpathEntryLabel, gridBagConstraints);        classpathEntryListLabel.setFont(new java.awt.Font("Dialog", 0, 12));        classpathEntryListLabel.setText("Classpath entries:");        classpathEntryListLabel.setText(L10N.getLocalString("dlg.classpathlist_lbl", "Classpath entries:"));        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 16;        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 3);        editProjectPanel.add(classpathEntryListLabel, gridBagConstraints);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 15;        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);        editProjectPanel.add(classpathEntryTextField, gridBagConstraints);        browseClasspathEntryButton.setFont(new java.awt.Font("Dialog", 0, 12));        browseClasspathEntryButton.setText("Browse");        browseClasspathEntryButton.setMaximumSize(new java.awt.Dimension(80, 25));        browseClasspathEntryButton.setMinimumSize(new java.awt.Dimension(80, 25));        browseClasspathEntryButton.setPreferredSize(new java.awt.Dimension(80, 25));        browseClasspathEntryButton.setText(L10N.getLocalString("dlg.browse_btn", "Browse"));        browseClasspathEntryButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                browseClasspathEntryButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 2;        gridBagConstraints.gridy = 15;        editProjectPanel.add(browseClasspathEntryButton, gridBagConstraints);        addClasspathEntryButton.setFont(new java.awt.Font("Dialog", 0, 12));        addClasspathEntryButton.setText("Add");        addClasspathEntryButton.setMaximumSize(new java.awt.Dimension(80, 25));        addClasspathEntryButton.setMinimumSize(new java.awt.Dimension(80, 25));        addClasspathEntryButton.setPreferredSize(new java.awt.Dimension(80, 25));        addClasspathEntryButton.setText(L10N.getLocalString("dlg.add_btn", "Add"));        addClasspathEntryButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                addClasspathEntryButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 3;        gridBagConstraints.gridy = 15;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);        editProjectPanel.add(addClasspathEntryButton, gridBagConstraints);        removeClasspathEntryButton.setFont(new java.awt.Font("Dialog", 0, 12));        removeClasspathEntryButton.setText("Remove");        removeClasspathEntryButton.setMaximumSize(new java.awt.Dimension(80, 25));        removeClasspathEntryButton.setMinimumSize(new java.awt.Dimension(80, 25));        removeClasspathEntryButton.setPreferredSize(new java.awt.Dimension(80, 25));        removeClasspathEntryButton.setText(L10N.getLocalString("dlg.remove_btn", "Remove"));        removeClasspathEntryButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                removeClasspathEntryButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 3;        gridBagConstraints.gridy = 16;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);        editProjectPanel.add(removeClasspathEntryButton, gridBagConstraints);        classpathEntryListScrollPane.setPreferredSize(new java.awt.Dimension(259, 1));        classpathEntryList.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED));        classpathEntryList.setFont(new java.awt.Font("Dialog", 0, 12));        classpathEntryListScrollPane.setViewportView(classpathEntryList);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 16;        gridBagConstraints.gridwidth = 2;        gridBagConstraints.gridheight = 3;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weighty = 0.1;        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3);        editProjectPanel.add(classpathEntryListScrollPane, gridBagConstraints);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 20;        gridBagConstraints.gridwidth = 4;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(3, 0, 3, 0);        editProjectPanel.add(jSeparator5, gridBagConstraints);        sourceUpButton.setFont(new java.awt.Font("Dialog", 0, 12));        sourceUpButton.setText("Up");        sourceUpButton.setMaximumSize(new java.awt.Dimension(80, 25));        sourceUpButton.setMinimumSize(new java.awt.Dimension(80, 25));        sourceUpButton.setPreferredSize(new java.awt.Dimension(80, 25));        sourceUpButton.setText(L10N.getLocalString("dlg.up_btn", "Up"));        sourceUpButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                sourceUpButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 3;        gridBagConstraints.gridy = 10;        gridBagConstraints.weighty = 0.2;        editProjectPanel.add(sourceUpButton, gridBagConstraints);        sourceDownButton.setFont(new java.awt.Font("Dialog", 0, 12));        sourceDownButton.setText("Down");        sourceDownButton.setMaximumSize(new java.awt.Dimension(80, 25));        sourceDownButton.setMinimumSize(new java.awt.Dimension(80, 25));        sourceDownButton.setPreferredSize(new java.awt.Dimension(80, 25));        sourceDownButton.setText(L10N.getLocalString("dlg.down_btn", "Down"));        sourceDownButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                sourceDownButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridy = 11;        editProjectPanel.add(sourceDownButton, gridBagConstraints);        classpathUpButton.setFont(new java.awt.Font("Dialog", 0, 12));        classpathUpButton.setText("Up");        classpathUpButton.setMaximumSize(new java.awt.Dimension(80, 25));        classpathUpButton.setMinimumSize(new java.awt.Dimension(80, 25));        classpathUpButton.setPreferredSize(new java.awt.Dimension(80, 25));        classpathUpButton.setText(L10N.getLocalString("dlg.up_btn", "Up"));        classpathUpButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                classpathUpButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 3;        gridBagConstraints.gridy = 17;        gridBagConstraints.weighty = 0.2;        editProjectPanel.add(classpathUpButton, gridBagConstraints);        classpathDownButton.setFont(new java.awt.Font("Dialog", 0, 12));        classpathDownButton.setText("Down");        classpathDownButton.setMaximumSize(new java.awt.Dimension(80, 25));        classpathDownButton.setMinimumSize(new java.awt.Dimension(80, 25));        classpathDownButton.setPreferredSize(new java.awt.Dimension(80, 25));        classpathDownButton.setText(L10N.getLocalString("dlg.down_btn", "Down"));        classpathDownButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                classpathDownButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 3;        gridBagConstraints.gridy = 18;        editProjectPanel.add(classpathDownButton, gridBagConstraints);        viewPanel.add(editProjectPanel, "EditProjectPanel");        bugTreePanel.setLayout(new java.awt.GridBagLayout());        bugTreeBugDetailsSplitter.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);        bugTreeBugDetailsSplitter.setResizeWeight(1.0);        bugTreeBugDetailsSplitter.setOneTouchExpandable(true);        bugTreeBugDetailsSplitter.addPropertyChangeListener(new java.beans.PropertyChangeListener() {            public void propertyChange(java.beans.PropertyChangeEvent evt) {                bugTreeBugDetailsSplitterPropertyChange(evt);            }        });        byClassScrollPane.setViewportView(byClassBugTree);        groupByTabbedPane.addTab("By Class", byClassScrollPane);        byPackageScrollPane.setViewportView(byPackageBugTree);        groupByTabbedPane.addTab("By Package", byPackageScrollPane);        byBugTypeScrollPane.setViewportView(byBugTypeBugTree);        groupByTabbedPane.addTab("By Bug Type", byBugTypeScrollPane);        bySummary.setViewportView(bugSummaryEditorPane);        groupByTabbedPane.addTab("Summary", bySummary);        bugTreeBugDetailsSplitter.setTopComponent(groupByTabbedPane);        bugDescriptionEditorPane.setEditable(false);        bugDescriptionScrollPane.setViewportView(bugDescriptionEditorPane);        bugDetailsTabbedPane.addTab("Details", bugDescriptionScrollPane);        sourceTextAreaScrollPane.setMinimumSize(new java.awt.Dimension(22, 180));        sourceTextAreaScrollPane.setPreferredSize(new java.awt.Dimension(0, 100));        sourceTextArea.setEditable(false);        sourceTextArea.setFont(new java.awt.Font("Lucida Sans Typewriter", 0, 12));        sourceTextArea.setEnabled(false);        sourceTextAreaScrollPane.setViewportView(sourceTextArea);        bugDetailsTabbedPane.addTab("Source code", sourceTextAreaScrollPane);        annotationTextAreaScrollPane.setViewportView(annotationTextArea);        bugDetailsTabbedPane.addTab("Annotations", annotationTextAreaScrollPane);        bugTreeBugDetailsSplitter.setBottomComponent(bugDetailsTabbedPane);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 1;        gridBagConstraints.gridwidth = 2;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.weighty = 1.0;        bugTreePanel.add(bugTreeBugDetailsSplitter, gridBagConstraints);        viewPanel.add(bugTreePanel, "BugTree");        consoleSplitter.setTopComponent(viewPanel);        {            groupByTabbedPane.setTitleAt(0, L10N.getLocalString( "dlg.byclass_tab", "By Class"));            groupByTabbedPane.setTitleAt(1, L10N.getLocalString( "dlg.bypackage_tab", "By Package"));            groupByTabbedPane.setTitleAt(2, L10N.getLocalString( "dlg.bybugtype_tab", "By Bug Type"));            groupByTabbedPane.setTitleAt(3, L10N.getLocalString( "dlg.summary_tab", "Summary"));            bugDetailsTabbedPane.setTitleAt(0, L10N.getLocalString( "dlg.details_tab", "Details"));            bugDetailsTabbedPane.setTitleAt(1, L10N.getLocalString( "dlg.sourcecode_tab", "Source Code"));            bugDetailsTabbedPane.setTitleAt(2, L10N.getLocalString( "dlg.annotations_tab", "Annotations"));        }        consoleScrollPane.setMinimumSize(new java.awt.Dimension(22, 100));        consoleScrollPane.setPreferredSize(new java.awt.Dimension(0, 100));        consoleMessageArea.setBackground(new java.awt.Color(204, 204, 204));        consoleMessageArea.setEditable(false);        consoleMessageArea.setFont(new java.awt.Font("Lucida Sans Typewriter", 0, 12));        consoleMessageArea.setMinimumSize(new java.awt.Dimension(0, 0));        consoleMessageArea.setAutoscrolls(false);        consoleScrollPane.setViewportView(consoleMessageArea);        consoleSplitter.setBottomComponent(consoleScrollPane);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 0;        gridBagConstraints.gridwidth = 2;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.weighty = 1.0;        getContentPane().add(consoleSplitter, gridBagConstraints);        urlLabel.setFont(new java.awt.Font("Dialog", 0, 12));        urlLabel.setText("FindBugs - http://findbugs.sourceforge.net/");        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 1;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 0);        getContentPane().add(urlLabel, gridBagConstraints);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 1;        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;        gridBagConstraints.insets = new java.awt.Insets(2, 0, 2, 2);        getContentPane().add(logoLabel, gridBagConstraints);        theMenuBar.setFont(new java.awt.Font("Dialog", 0, 12));        fileMenu.setMnemonic('F');        fileMenu.setText("File");        fileMenu.setFont(new java.awt.Font("Dialog", 0, 12));        fileMenu.setText(L10N.getLocalString("menu.file_menu", "File"));        fileMenu.addMenuListener(new javax.swing.event.MenuListener() {            public void menuCanceled(javax.swing.event.MenuEvent evt) {            }            public void menuDeselected(javax.swing.event.MenuEvent evt) {            }            public void menuSelected(javax.swing.event.MenuEvent evt) {                fileMenuMenuSelected(evt);            }        });        newProjectItem.setFont(new java.awt.Font("Dialog", 0, 12));        newProjectItem.setMnemonic('N');        newProjectItem.setText("New Project");        newProjectItem.setText(L10N.getLocalString("menu.new_item", "New Project"));        newProjectItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                newProjectItemActionPerformed(evt);            }        });        fileMenu.add(newProjectItem);        openProjectItem.setFont(new java.awt.Font("Dialog", 0, 12));        openProjectItem.setMnemonic('O');        openProjectItem.setText("Open Project...");        openProjectItem.setText(L10N.getLocalString("menu.open_item", "Open Project..."));        openProjectItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                openProjectItemActionPerformed(evt);            }        });        fileMenu.add(openProjectItem);        recentProjectsMenu.setMnemonic('E');        recentProjectsMenu.setText("Recent Projects");        recentProjectsMenu.setFont(new java.awt.Font("Dialog", 0, 12));        recentProjectsMenu.setText(L10N.getLocalString("menu.recent_menu", "Recent Projects..."));rebuildRecentProjectsMenu();        fileMenu.add(recentProjectsMenu);        saveProjectItem.setFont(new java.awt.Font("Dialog", 0, 12));        saveProjectItem.setMnemonic('S');        saveProjectItem.setText("Save Project");        saveProjectItem.setText(L10N.getLocalString("menu.save_item", "Save Project"));        saveProjectItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                saveProjectItemActionPerformed(evt);            }        });        fileMenu.add(saveProjectItem);        saveProjectAsItem.setFont(new java.awt.Font("Dialog", 0, 12));        saveProjectAsItem.setMnemonic('A');        saveProjectAsItem.setText("Save Project As...");        saveProjectAsItem.setText(L10N.getLocalString("menu.saveas_item", "Save Project As..."));        saveProjectAsItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                saveProjectAsItemActionPerformed(evt);            }        });        fileMenu.add(saveProjectAsItem);        reloadProjectItem.setFont(new java.awt.Font("Dialog", 0, 12));        reloadProjectItem.setMnemonic('R');        reloadProjectItem.setText("Reload Project");        reloadProjectItem.setText(L10N.getLocalString("menu.reload_item", "Reload Project"));        reloadProjectItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                reloadProjectItemActionPerformed(evt);            }        });        fileMenu.add(reloadProjectItem);        closeProjectItem.setFont(new java.awt.Font("Dialog", 0, 12));        closeProjectItem.setMnemonic('C');        closeProjectItem.setText("Close Project");        closeProjectItem.setText(L10N.getLocalString("menu.close_item", "Close"));        closeProjectItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                closeProjectItemActionPerformed(evt);            }        });        fileMenu.add(closeProjectItem);        fileMenu.add(jSeparator3);        loadBugsItem.setFont(new java.awt.Font("Dialog", 0, 12));        loadBugsItem.setMnemonic('L');        loadBugsItem.setText("Load Bugs...");        loadBugsItem.setText(L10N.getLocalString("menu.loadbugs_item", "Load Bugs..."));        loadBugsItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                loadBugsItemActionPerformed(evt);            }        });        fileMenu.add(loadBugsItem);        saveBugsItem.setFont(new java.awt.Font("Dialog", 0, 12));        saveBugsItem.setMnemonic('B');        saveBugsItem.setText("Save Bugs");        saveBugsItem.setText(L10N.getLocalString("menu.savebugs_item", "Save Bugs..."));        saveBugsItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                saveBugsItemActionPerformed(evt);            }        });        fileMenu.add(saveBugsItem);        fileMenu.add(jSeparator6);        exitItem.setFont(new java.awt.Font("Dialog", 0, 12));        exitItem.setMnemonic('X');        exitItem.setText("Exit");        exitItem.setText(L10N.getLocalString("menu.exit_item", "Exit"));        exitItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                exitItemActionPerformed(evt);            }        });        fileMenu.add(exitItem);        theMenuBar.add(fileMenu);        viewMenu.setMnemonic('V');        viewMenu.setText("View");        viewMenu.setFont(new java.awt.Font("Dialog", 0, 12));        viewMenu.setText(L10N.getLocalString("menu.view_menu", "View"));        viewMenu.addMenuListener(new javax.swing.event.MenuListener() {            public void menuCanceled(javax.swing.event.MenuEvent evt) {            }            public void menuDeselected(javax.swing.event.MenuEvent evt) {            }            public void menuSelected(javax.swing.event.MenuEvent evt) {                viewMenuMenuSelected(evt);            }        });        viewConsoleItem.setFont(new java.awt.Font("Dialog", 0, 12));        viewConsoleItem.setMnemonic('C');        viewConsoleItem.setText("Console");        viewConsoleItem.setText(L10N.getLocalString("menu.console_item", "Console"));        viewConsoleItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                viewConsoleItemActionPerformed(evt);            }        });        viewMenu.add(viewConsoleItem);        viewBugDetailsItem.setFont(new java.awt.Font("Dialog", 0, 12));        viewBugDetailsItem.setMnemonic('D');        viewBugDetailsItem.setSelected(true);        viewBugDetailsItem.setText("Bug Details");        viewBugDetailsItem.setText(L10N.getLocalString("menu.bugdetails_item", "Bug Details"));        viewBugDetailsItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                viewBugDetailsItemActionPerformed(evt);            }        });        viewMenu.add(viewBugDetailsItem);        fullDescriptionsItem.setFont(new java.awt.Font("Dialog", 0, 12));        fullDescriptionsItem.setMnemonic('F');        fullDescriptionsItem.setSelected(true);        fullDescriptionsItem.setText("Full Descriptions");        fullDescriptionsItem.setText(L10N.getLocalString("menu.fulldescriptions_item", "Full Descriptions"));        fullDescriptionsItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                fullDescriptionsItemActionPerformed(evt);            }        });        viewMenu.add(fullDescriptionsItem);        viewMenu.add(jSeparator7);        lowPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12));        lowPriorityButton.setMnemonic('L');        lowPriorityButton.setText("Low Priority");        lowPriorityButton.setText(L10N.getLocalString("menu.lowpriority_item", "Low Priority"));        lowPriorityButton.setSelected(priorityThreshold == Detector.LOW_PRIORITY);        lowPriorityButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                lowPriorityButtonActionPerformed(evt);            }        });        viewMenu.add(lowPriorityButton);        mediumPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12));        mediumPriorityButton.setMnemonic('M');        mediumPriorityButton.setText("Medium Priority");        mediumPriorityButton.setText(L10N.getLocalString("menu.mediumpriority_item", "Medium Priority"));        mediumPriorityButton.setSelected(priorityThreshold == Detector.NORMAL_PRIORITY);        mediumPriorityButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                mediumPriorityButtonActionPerformed(evt);            }        });        viewMenu.add(mediumPriorityButton);        highPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12));        highPriorityButton.setMnemonic('H');        highPriorityButton.setText("High Priority");        highPriorityButton.setText(L10N.getLocalString("menu.highpriority_item", "High Priority"));        highPriorityButton.setSelected(priorityThreshold == Detector.HIGH_PRIORITY);        highPriorityButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                highPriorityButtonActionPerformed(evt);            }        });        viewMenu.add(highPriorityButton);        viewMenu.add(jSeparator8);        viewProjectItem.setFont(new java.awt.Font("Dialog", 0, 12));        viewProjectItem.setText("View Project Details");        viewProjectItem.setEnabled(false);        viewProjectItem.setText(L10N.getLocalString("menu.viewprojectdetails_item", "View Project Details"));        viewProjectItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                viewProjectItemActionPerformed(evt);            }        });        viewMenu.add(viewProjectItem);        viewBugsItem.setFont(new java.awt.Font("Dialog", 0, 12));        viewBugsItem.setText("View Bugs");        viewBugsItem.setEnabled(false);        viewBugsItem.setText(L10N.getLocalString("menu.viewbugs_item", "View Bugs"));        viewBugsItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                viewBugsItemActionPerformed(evt);            }        });        viewMenu.add(viewBugsItem);        theMenuBar.add(viewMenu);        settingsMenu.setMnemonic('S');        settingsMenu.setText("Settings");        settingsMenu.setFont(new java.awt.Font("Dialog", 0, 12));        settingsMenu.setText(L10N.getLocalString("menu.settings_menu", "Settings"));        configureDetectorsItem.setFont(new java.awt.Font("Dialog", 0, 12));        configureDetectorsItem.setMnemonic('C');        configureDetectorsItem.setText("Configure Detectors...");        configureDetectorsItem.setText(L10N.getLocalString("menu.configure_item", "Configure Detectors"));        configureDetectorsItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                configureDetectorsItemActionPerformed(evt);            }        });        settingsMenu.add(configureDetectorsItem);        theMenuBar.add(settingsMenu);        helpMenu.setMnemonic('H');        helpMenu.setText("Help");        helpMenu.setFont(new java.awt.Font("Dialog", 0, 12));        helpMenu.setText(L10N.getLocalString("menu.help_menu", "Help"));        aboutItem.setFont(new java.awt.Font("Dialog", 0, 12));        aboutItem.setMnemonic('A');        aboutItem.setText("About...");        aboutItem.setText(L10N.getLocalString("menu.about_item", "About..."));        aboutItem.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                aboutItemActionPerformed(evt);            }        });        helpMenu.add(aboutItem);        theMenuBar.add(helpMenu);        setJMenuBar(theMenuBar);        pack();    }//GEN-END:initComponents