java.awt.GridBagConstraints gridBagConstraints;  priorityButtonGroup = new javax.swing.ButtonGroup(); 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(); jPanel1 = new javax.swing.JPanel(); logoLabel = new javax.swing.JLabel(); growBoxSpacer = 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(); jSeparator9 = new javax.swing.JSeparator(); closeProjectItem = new javax.swing.JMenuItem(); saveProjectItem = new javax.swing.JMenuItem(); saveProjectAsItem = new javax.swing.JMenuItem(); reloadProjectItem = 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(); editMenu = new javax.swing.JMenu(); cutItem = new javax.swing.JMenuItem(); copyItem = new javax.swing.JMenuItem(); pasteItem = new javax.swing.JMenuItem(); jSeparator10 = new javax.swing.JSeparator(); selectAllItem = 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(); filterWarningsMenu = new javax.swing.JMenu(); expPriorityButton = new javax.swing.JRadioButtonMenuItem(); lowPriorityButton = new javax.swing.JRadioButtonMenuItem(); mediumPriorityButton = new javax.swing.JRadioButtonMenuItem(); highPriorityButton = new javax.swing.JRadioButtonMenuItem(); jSeparator11 = new javax.swing.JSeparator(); 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); } }); jarNameTextField.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(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(90, 25)); addJarButton.setMinimumSize(new java.awt.Dimension(90, 25)); addJarButton.setPreferredSize(new java.awt.Dimension(90, 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); } }); srcDirTextField.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(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(90, 25)); addSourceDirButton.setMinimumSize(new java.awt.Dimension(90, 25)); addSourceDirButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); removeJarButton.setMinimumSize(new java.awt.Dimension(90, 25)); removeJarButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); removeSrcDirButton.setMinimumSize(new java.awt.Dimension(90, 25)); removeSrcDirButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); browseJarButton.setMinimumSize(new java.awt.Dimension(90, 25)); browseJarButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); browseSrcDirButton.setMinimumSize(new java.awt.Dimension(90, 25)); browseSrcDirButton.setPreferredSize(new java.awt.Dimension(90, 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)); disableEditKeyBindings(jarFileList);  jarFileList.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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)); disableEditKeyBindings(sourceDirList); sourceDirList.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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);  classpathEntryTextField.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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(90, 25)); browseClasspathEntryButton.setMinimumSize(new java.awt.Dimension(90, 25)); browseClasspathEntryButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); addClasspathEntryButton.setMinimumSize(new java.awt.Dimension(90, 25)); addClasspathEntryButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); removeClasspathEntryButton.setMinimumSize(new java.awt.Dimension(90, 25)); removeClasspathEntryButton.setPreferredSize(new java.awt.Dimension(90, 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)); disableEditKeyBindings(classpathEntryList); classpathEntryList.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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(90, 25)); sourceUpButton.setMinimumSize(new java.awt.Dimension(90, 25)); sourceUpButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); sourceDownButton.setMinimumSize(new java.awt.Dimension(90, 25)); sourceDownButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); classpathUpButton.setMinimumSize(new java.awt.Dimension(90, 25)); classpathUpButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); classpathDownButton.setMinimumSize(new java.awt.Dimension(90, 25)); classpathDownButton.setPreferredSize(new java.awt.Dimension(90, 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); } });  byClassBugTree.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  byClassScrollPane.setViewportView(byClassBugTree);  groupByTabbedPane.addTab("By Class", byClassScrollPane);  byPackageBugTree.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  byPackageScrollPane.setViewportView(byPackageBugTree);  groupByTabbedPane.addTab("By Package", byPackageScrollPane);  byBugTypeBugTree.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  byBugTypeScrollPane.setViewportView(byBugTypeBugTree);  groupByTabbedPane.addTab("By Bug Type", byBugTypeScrollPane);  bugSummaryEditorPane.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  bySummary.setViewportView(bugSummaryEditorPane);  groupByTabbedPane.addTab("Summary", bySummary);  bugTreeBugDetailsSplitter.setTopComponent(groupByTabbedPane);  bugDescriptionEditorPane.setEditable(false); bugDescriptionEditorPane.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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); sourceTextArea.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  sourceTextAreaScrollPane.setViewportView(sourceTextArea);  bugDetailsTabbedPane.addTab("Source code", sourceTextAreaScrollPane);  annotationTextArea.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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);  { equalizeControls( new JComponent[] { addJarButton, addSourceDirButton, addClasspathEntryButton, removeJarButton, removeSrcDirButton, removeClasspathEntryButton, browseJarButton, browseSrcDirButton, browseClasspathEntryButton, sourceUpButton, sourceDownButton, classpathUpButton, classpathDownButton });  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); consoleMessageArea.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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: 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);  jPanel1.setLayout(new javax.swing.BoxLayout(jPanel1, javax.swing.BoxLayout.X_AXIS));  jPanel1.add(logoLabel);  growBoxSpacer.setMaximumSize(new java.awt.Dimension(16, 16)); jPanel1.add(growBoxSpacer);  gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.anchor = java.awt.GridBagConstraints.SOUTHEAST; gridBagConstraints.insets = new java.awt.Insets(2, 0, 2, 2); getContentPane().add(jPanel1, gridBagConstraints);  theMenuBar.setFont(new java.awt.Font("Dialog", 0, 12)); fileMenu.setText("File"); fileMenu.setFont(new java.awt.Font("Dialog", 0, 12)); localiseButton(fileMenu, "menu.file_menu", "&File", true); 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.setText("New Project"); localiseButton(newProjectItem, "menu.new_item", "&New Project", true); 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.setText("Open Project..."); localiseButton(openProjectItem, "menu.open_item", "&Open Project", true); openProjectItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { openProjectItemActionPerformed(evt); } });  fileMenu.add(openProjectItem);  recentProjectsMenu.setText("Recent Projects"); recentProjectsMenu.setFont(new java.awt.Font("Dialog", 0, 12)); localiseButton(recentProjectsMenu, "menu.recent_menu", "R&ecent Projects", true); rebuildRecentProjectsMenu(); fileMenu.add(recentProjectsMenu);  fileMenu.add(jSeparator9);  closeProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); closeProjectItem.setText("Close Project"); localiseButton(closeProjectItem, "menu.close_item", "&Close", true); closeProjectItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { closeProjectItemActionPerformed(evt); } });  fileMenu.add(closeProjectItem);  saveProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); saveProjectItem.setText("Save Project"); localiseButton(saveProjectItem, "menu.save_item", "&Save Project", true); 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.setText("Save Project As..."); localiseButton(saveProjectAsItem, "menu.saveas_item", "Save Project &As...", true); 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.setText("Reload Project"); localiseButton(reloadProjectItem, "menu.reload_item", "&Reload Project", true); reloadProjectItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { reloadProjectItemActionPerformed(evt); } });  fileMenu.add(reloadProjectItem);  fileMenu.add(jSeparator3);  loadBugsItem.setFont(new java.awt.Font("Dialog", 0, 12)); loadBugsItem.setText("Load Bugs..."); localiseButton(loadBugsItem, "menu.loadbugs_item", "&Load Bugs...", true); 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.setText("Save Bugs"); localiseButton(saveBugsItem, "menu.savebugs_item", "Save &Bugs...", true); 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.setText("Exit"); localiseButton(exitItem, "menu.exit_item", "E&xit", true); exitItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { exitItemActionPerformed(evt); } });  fileMenu.add(exitItem);  theMenuBar.add(fileMenu);  editMenu.setText("Edit"); editMenu.setFont(new java.awt.Font("Dialog", 0, 12)); editMenu.setEnabled(false); localiseButton(editMenu, "menu.edit_menu", "&Edit", true); cutItem.setFont(new java.awt.Font("Dialog", 0, 12)); cutItem.setText("Cut"); localiseButton(cutItem, "menu.cut_item", "Cut", true); cutItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { cutActionPerformed(evt); } });  editMenu.add(cutItem);  copyItem.setFont(new java.awt.Font("Dialog", 0, 12)); copyItem.setText("Copy"); localiseButton(copyItem, "menu.copy_item", "Copy", true); copyItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { copyActionPerformed(evt); } });  editMenu.add(copyItem);  pasteItem.setFont(new java.awt.Font("Dialog", 0, 12)); pasteItem.setText("Paste"); localiseButton(pasteItem, "menu.paste_item", "Paste", true); pasteItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { pasteActionPerformed(evt); } });  editMenu.add(pasteItem);  editMenu.add(jSeparator10);  selectAllItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.event.InputEvent.CTRL_MASK)); selectAllItem.setFont(new java.awt.Font("Dialog", 0, 12)); selectAllItem.setText("Select All"); localiseButton(selectAllItem, "menu.selectall_item", "Select &All", true); selectAllItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { selectAllActionPerformed(evt); } });  editMenu.add(selectAllItem);  theMenuBar.add(editMenu);  viewMenu.setText("View"); viewMenu.setFont(new java.awt.Font("Dialog", 0, 12)); localiseButton(viewMenu, "menu.view_menu", "&View", true);  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.setText("Console"); localiseButton(viewConsoleItem, "menu.console_item", "&Console", true); 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.setSelected(true); viewBugDetailsItem.setText("Bug Details"); localiseButton(viewBugDetailsItem, "menu.bugdetails_item", "Bug &Details", true); 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.setSelected(true); fullDescriptionsItem.setText("Full Descriptions"); localiseButton(fullDescriptionsItem, "menu.fulldescriptions_item", "&Full Descriptions", true); fullDescriptionsItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { fullDescriptionsItemActionPerformed(evt); } });  viewMenu.add(fullDescriptionsItem);  viewMenu.add(jSeparator7);  filterWarningsMenu.setText("Filter Warnings"); filterWarningsMenu.setFont(new java.awt.Font("Dialog", 0, 12)); priorityButtonGroup.add(expPriorityButton); expPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12)); expPriorityButton.setText("Experimental Priority"); localiseButton(expPriorityButton, "menu.exppriority_item", "&Experimental Priority", true); expPriorityButton.setSelected(priorityThreshold == Detector.EXP_PRIORITY); expPriorityButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { expPriorityButtonActionPerformed(evt); } });  filterWarningsMenu.add(expPriorityButton);  priorityButtonGroup.add(lowPriorityButton); lowPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12)); lowPriorityButton.setText("Low Priority"); localiseButton(lowPriorityButton, "menu.lowpriority_item", "&Low Priority", true); lowPriorityButton.setSelected(priorityThreshold == Detector.LOW_PRIORITY); lowPriorityButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { lowPriorityButtonActionPerformed(evt); } });  filterWarningsMenu.add(lowPriorityButton);  priorityButtonGroup.add(mediumPriorityButton); mediumPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12)); mediumPriorityButton.setText("Medium Priority"); localiseButton(mediumPriorityButton, "menu.mediumpriority_item", "&Medium Priority", true); mediumPriorityButton.setSelected(priorityThreshold == Detector.NORMAL_PRIORITY); mediumPriorityButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { mediumPriorityButtonActionPerformed(evt); } });  filterWarningsMenu.add(mediumPriorityButton);  priorityButtonGroup.add(highPriorityButton); highPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12)); highPriorityButton.setText("High Priority"); localiseButton(highPriorityButton, "menu.highpriority_item", "&High Priority", true); highPriorityButton.setSelected(priorityThreshold == Detector.HIGH_PRIORITY); highPriorityButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { highPriorityButtonActionPerformed(evt); } });  filterWarningsMenu.add(highPriorityButton);  filterWarningsMenu.add(jSeparator11);  viewMenu.add(filterWarningsMenu);  ButtonGroup bg = new ButtonGroup(); bg.add(expPriorityButton); bg.add(lowPriorityButton); bg.add(mediumPriorityButton); bg.add(highPriorityButton);  viewMenu.add(jSeparator8);  viewProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); viewProjectItem.setText("View Project Details"); viewProjectItem.setEnabled(false); localiseButton(viewProjectItem, "menu.viewprojectdetails_item", "View Project Details", true); 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); localiseButton(viewBugsItem, "menu.viewbugs_item", "View Bugs", true); viewBugsItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { viewBugsItemActionPerformed(evt); } });  viewMenu.add(viewBugsItem);  theMenuBar.add(viewMenu);  settingsMenu.setText("Settings"); settingsMenu.setFont(new java.awt.Font("Dialog", 0, 12)); localiseButton(settingsMenu, "menu.settings_menu", "&Settings", true); configureDetectorsItem.setFont(new java.awt.Font("Dialog", 0, 12)); configureDetectorsItem.setText("Configure Detectors..."); localiseButton(configureDetectorsItem, "menu.configure_item", "&Configure detectors", true); configureDetectorsItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { configureDetectorsItemActionPerformed(evt); } });  settingsMenu.add(configureDetectorsItem);  theMenuBar.add(settingsMenu);  helpMenu.setText("Help"); helpMenu.setFont(new java.awt.Font("Dialog", 0, 12)); localiseButton(helpMenu, "menu.help_menu", "&Help", true); aboutItem.setFont(new java.awt.Font("Dialog", 0, 12)); aboutItem.setText("About..."); localiseButton(aboutItem, "menu.about_item", "&About", true); 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(); }
java.awt.GridBagConstraints gridBagConstraints;  priorityButtonGroup = new javax.swing.ButtonGroup(); 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(); jPanel1 = new javax.swing.JPanel(); logoLabel = new javax.swing.JLabel(); growBoxSpacer = 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(); jSeparator9 = new javax.swing.JSeparator(); closeProjectItem = new javax.swing.JMenuItem(); saveProjectItem = new javax.swing.JMenuItem(); saveProjectAsItem = new javax.swing.JMenuItem(); reloadProjectItem = 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(); editMenu = new javax.swing.JMenu(); cutItem = new javax.swing.JMenuItem(); copyItem = new javax.swing.JMenuItem(); pasteItem = new javax.swing.JMenuItem(); jSeparator10 = new javax.swing.JSeparator(); selectAllItem = 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(); filterWarningsMenu = new javax.swing.JMenu(); expPriorityButton = new javax.swing.JRadioButtonMenuItem(); lowPriorityButton = new javax.swing.JRadioButtonMenuItem(); mediumPriorityButton = new javax.swing.JRadioButtonMenuItem(); highPriorityButton = new javax.swing.JRadioButtonMenuItem(); jSeparator11 = new javax.swing.JSeparator(); 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); } }); jarNameTextField.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(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(90, 25)); addJarButton.setMinimumSize(new java.awt.Dimension(90, 25)); addJarButton.setPreferredSize(new java.awt.Dimension(90, 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); } }); srcDirTextField.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(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(90, 25)); addSourceDirButton.setMinimumSize(new java.awt.Dimension(90, 25)); addSourceDirButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); removeJarButton.setMinimumSize(new java.awt.Dimension(90, 25)); removeJarButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); removeSrcDirButton.setMinimumSize(new java.awt.Dimension(90, 25)); removeSrcDirButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); browseJarButton.setMinimumSize(new java.awt.Dimension(90, 25)); browseJarButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); browseSrcDirButton.setMinimumSize(new java.awt.Dimension(90, 25)); browseSrcDirButton.setPreferredSize(new java.awt.Dimension(90, 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)); disableEditKeyBindings(jarFileList);  jarFileList.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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)); disableEditKeyBindings(sourceDirList); sourceDirList.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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);  classpathEntryTextField.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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(90, 25)); browseClasspathEntryButton.setMinimumSize(new java.awt.Dimension(90, 25)); browseClasspathEntryButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); addClasspathEntryButton.setMinimumSize(new java.awt.Dimension(90, 25)); addClasspathEntryButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); removeClasspathEntryButton.setMinimumSize(new java.awt.Dimension(90, 25)); removeClasspathEntryButton.setPreferredSize(new java.awt.Dimension(90, 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)); disableEditKeyBindings(classpathEntryList); classpathEntryList.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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(90, 25)); sourceUpButton.setMinimumSize(new java.awt.Dimension(90, 25)); sourceUpButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); sourceDownButton.setMinimumSize(new java.awt.Dimension(90, 25)); sourceDownButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); classpathUpButton.setMinimumSize(new java.awt.Dimension(90, 25)); classpathUpButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25)); classpathDownButton.setMinimumSize(new java.awt.Dimension(90, 25)); classpathDownButton.setPreferredSize(new java.awt.Dimension(90, 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); } });  byClassBugTree.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  byClassScrollPane.setViewportView(byClassBugTree);  groupByTabbedPane.addTab("By Class", byClassScrollPane);  byPackageBugTree.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  byPackageScrollPane.setViewportView(byPackageBugTree);  groupByTabbedPane.addTab("By Package", byPackageScrollPane);  byBugTypeBugTree.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  byBugTypeScrollPane.setViewportView(byBugTypeBugTree);  groupByTabbedPane.addTab("By Bug Type", byBugTypeScrollPane);  bugSummaryEditorPane.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  bySummary.setViewportView(bugSummaryEditorPane);  groupByTabbedPane.addTab("Summary", bySummary);  bugTreeBugDetailsSplitter.setTopComponent(groupByTabbedPane);  bugDescriptionEditorPane.setEditable(false); bugDescriptionEditorPane.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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); sourceTextArea.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  sourceTextAreaScrollPane.setViewportView(sourceTextArea);  bugDetailsTabbedPane.addTab("Source code", sourceTextAreaScrollPane);  annotationTextArea.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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);  { equalizeControls( new JComponent[] { addJarButton, addSourceDirButton, addClasspathEntryButton, removeJarButton, removeSrcDirButton, removeClasspathEntryButton, browseJarButton, browseSrcDirButton, browseClasspathEntryButton, sourceUpButton, sourceDownButton, classpathUpButton, classpathDownButton });  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); consoleMessageArea.addFocusListener(new java.awt.event.FocusAdapter() { public void focusGained(java.awt.event.FocusEvent evt) { focusGainedHandler(evt); } });  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: 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);  jPanel1.setLayout(new javax.swing.BoxLayout(jPanel1, javax.swing.BoxLayout.X_AXIS));  jPanel1.add(logoLabel);  growBoxSpacer.setMaximumSize(new java.awt.Dimension(16, 16)); jPanel1.add(growBoxSpacer);  gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.anchor = java.awt.GridBagConstraints.SOUTHEAST; gridBagConstraints.insets = new java.awt.Insets(2, 0, 2, 2); getContentPane().add(jPanel1, gridBagConstraints);  theMenuBar.setFont(new java.awt.Font("Dialog", 0, 12)); fileMenu.setText("File"); fileMenu.setFont(new java.awt.Font("Dialog", 0, 12)); localiseButton(fileMenu, "menu.file_menu", "&File", true); 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.setText("New Project"); localiseButton(newProjectItem, "menu.new_item", "&New Project", true); 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.setText("Open Project..."); localiseButton(openProjectItem, "menu.open_item", "&Open Project", true); openProjectItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { openProjectItemActionPerformed(evt); } });  fileMenu.add(openProjectItem);  recentProjectsMenu.setText("Recent Projects"); recentProjectsMenu.setFont(new java.awt.Font("Dialog", 0, 12)); localiseButton(recentProjectsMenu, "menu.recent_menu", "R&ecent Projects", true); rebuildRecentProjectsMenu(); fileMenu.add(recentProjectsMenu);  fileMenu.add(jSeparator9);  closeProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); closeProjectItem.setText("Close Project"); localiseButton(closeProjectItem, "menu.close_item", "&Close", true); closeProjectItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { closeProjectItemActionPerformed(evt); } });  fileMenu.add(closeProjectItem);  saveProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); saveProjectItem.setText("Save Project"); localiseButton(saveProjectItem, "menu.save_item", "&Save Project", true); 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.setText("Save Project As..."); localiseButton(saveProjectAsItem, "menu.saveas_item", "Save Project &As...", true); 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.setText("Reload Project"); localiseButton(reloadProjectItem, "menu.reload_item", "&Reload Project", true); reloadProjectItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { reloadProjectItemActionPerformed(evt); } });  fileMenu.add(reloadProjectItem);  fileMenu.add(jSeparator3);  loadBugsItem.setFont(new java.awt.Font("Dialog", 0, 12)); loadBugsItem.setText("Load Bugs..."); localiseButton(loadBugsItem, "menu.loadbugs_item", "&Load Bugs...", true); 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.setText("Save Bugs"); localiseButton(saveBugsItem, "menu.savebugs_item", "Save &Bugs...", true); 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.setText("Exit"); localiseButton(exitItem, "menu.exit_item", "E&xit", true); exitItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { exitItemActionPerformed(evt); } });  fileMenu.add(exitItem);  theMenuBar.add(fileMenu);  editMenu.setText("Edit"); editMenu.setFont(new java.awt.Font("Dialog", 0, 12)); editMenu.setEnabled(false); localiseButton(editMenu, "menu.edit_menu", "&Edit", true); cutItem.setFont(new java.awt.Font("Dialog", 0, 12)); cutItem.setText("Cut"); localiseButton(cutItem, "menu.cut_item", "Cut", true); cutItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { cutActionPerformed(evt); } });  editMenu.add(cutItem);  copyItem.setFont(new java.awt.Font("Dialog", 0, 12)); copyItem.setText("Copy"); localiseButton(copyItem, "menu.copy_item", "Copy", true); copyItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { copyActionPerformed(evt); } });  editMenu.add(copyItem);  pasteItem.setFont(new java.awt.Font("Dialog", 0, 12)); pasteItem.setText("Paste"); localiseButton(pasteItem, "menu.paste_item", "Paste", true); pasteItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { pasteActionPerformed(evt); } });  editMenu.add(pasteItem);  editMenu.add(jSeparator10);  selectAllItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.event.InputEvent.CTRL_MASK)); selectAllItem.setFont(new java.awt.Font("Dialog", 0, 12)); selectAllItem.setText("Select All"); localiseButton(selectAllItem, "menu.selectall_item", "Select &All", true); selectAllItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { selectAllActionPerformed(evt); } });  editMenu.add(selectAllItem);  theMenuBar.add(editMenu);  viewMenu.setText("View"); viewMenu.setFont(new java.awt.Font("Dialog", 0, 12)); localiseButton(viewMenu, "menu.view_menu", "&View", true);  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.setText("Console"); localiseButton(viewConsoleItem, "menu.console_item", "&Console", true); 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.setSelected(true); viewBugDetailsItem.setText("Bug Details"); localiseButton(viewBugDetailsItem, "menu.bugdetails_item", "Bug &Details", true); 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.setSelected(true); fullDescriptionsItem.setText("Full Descriptions"); localiseButton(fullDescriptionsItem, "menu.fulldescriptions_item", "&Full Descriptions", true); fullDescriptionsItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { fullDescriptionsItemActionPerformed(evt); } });  viewMenu.add(fullDescriptionsItem);  viewMenu.add(jSeparator7);  filterWarningsMenu.setText("Filter Warnings"); filterWarningsMenu.setFont(new java.awt.Font("Dialog", 0, 12)); localiseButton(filterWarningsMenu, "menu.filterwarnings_menu", "Filter &Warnings", true); expPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12)); expPriorityButton.setText("Experimental Priority"); priorityButtonGroup.add(expPriorityButton); localiseButton(expPriorityButton, "menu.exppriority_item", "&Experimental Priority", true); expPriorityButton.setSelected(priorityThreshold == Detector.EXP_PRIORITY); expPriorityButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { expPriorityButtonActionPerformed(evt); } });  filterWarningsMenu.add(expPriorityButton);  lowPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12)); lowPriorityButton.setText("Low Priority"); priorityButtonGroup.add(lowPriorityButton); localiseButton(lowPriorityButton, "menu.lowpriority_item", "&Low Priority", true); lowPriorityButton.setSelected(priorityThreshold == Detector.LOW_PRIORITY); lowPriorityButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { lowPriorityButtonActionPerformed(evt); } });  filterWarningsMenu.add(lowPriorityButton);  mediumPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12)); mediumPriorityButton.setText("Medium Priority"); priorityButtonGroup.add(mediumPriorityButton); localiseButton(mediumPriorityButton, "menu.mediumpriority_item", "&Medium Priority", true); mediumPriorityButton.setSelected(priorityThreshold == Detector.NORMAL_PRIORITY); mediumPriorityButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { mediumPriorityButtonActionPerformed(evt); } });  filterWarningsMenu.add(mediumPriorityButton);  highPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12)); highPriorityButton.setText("High Priority"); priorityButtonGroup.add(highPriorityButton); localiseButton(highPriorityButton, "menu.highpriority_item", "&High Priority", true); highPriorityButton.setSelected(priorityThreshold == Detector.HIGH_PRIORITY); highPriorityButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { highPriorityButtonActionPerformed(evt); } });  filterWarningsMenu.add(highPriorityButton);  filterWarningsMenu.add(jSeparator11);  viewMenu.add(filterWarningsMenu);  ButtonGroup bg = new ButtonGroup(); bg.add(expPriorityButton); bg.add(lowPriorityButton); bg.add(mediumPriorityButton); bg.add(highPriorityButton);  viewMenu.add(jSeparator8);  viewProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); viewProjectItem.setText("View Project Details"); viewProjectItem.setEnabled(false); localiseButton(viewProjectItem, "menu.viewprojectdetails_item", "View Project Details", true); 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); localiseButton(viewBugsItem, "menu.viewbugs_item", "View Bugs", true); viewBugsItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { viewBugsItemActionPerformed(evt); } });  viewMenu.add(viewBugsItem);  theMenuBar.add(viewMenu);  settingsMenu.setText("Settings"); settingsMenu.setFont(new java.awt.Font("Dialog", 0, 12)); localiseButton(settingsMenu, "menu.settings_menu", "&Settings", true); configureDetectorsItem.setFont(new java.awt.Font("Dialog", 0, 12)); configureDetectorsItem.setText("Configure Detectors..."); localiseButton(configureDetectorsItem, "menu.configure_item", "&Configure detectors", true); configureDetectorsItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { configureDetectorsItemActionPerformed(evt); } });  settingsMenu.add(configureDetectorsItem);  theMenuBar.add(settingsMenu);  helpMenu.setText("Help"); helpMenu.setFont(new java.awt.Font("Dialog", 0, 12)); localiseButton(helpMenu, "menu.help_menu", "&Help", true); aboutItem.setFont(new java.awt.Font("Dialog", 0, 12)); aboutItem.setText("About..."); localiseButton(aboutItem, "menu.about_item", "&About", true); 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(); }
	private void initComponents() {//GEN-BEGIN:initComponents		java.awt.GridBagConstraints gridBagConstraints;		priorityButtonGroup = new javax.swing.ButtonGroup();		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();		jPanel1 = new javax.swing.JPanel();		logoLabel = new javax.swing.JLabel();		growBoxSpacer = 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();		jSeparator9 = new javax.swing.JSeparator();		closeProjectItem = new javax.swing.JMenuItem();		saveProjectItem = new javax.swing.JMenuItem();		saveProjectAsItem = new javax.swing.JMenuItem();		reloadProjectItem = 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();		editMenu = new javax.swing.JMenu();		cutItem = new javax.swing.JMenuItem();		copyItem = new javax.swing.JMenuItem();		pasteItem = new javax.swing.JMenuItem();		jSeparator10 = new javax.swing.JSeparator();		selectAllItem = 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();		filterWarningsMenu = new javax.swing.JMenu();		expPriorityButton = new javax.swing.JRadioButtonMenuItem();		lowPriorityButton = new javax.swing.JRadioButtonMenuItem();		mediumPriorityButton = new javax.swing.JRadioButtonMenuItem();		highPriorityButton = new javax.swing.JRadioButtonMenuItem();		jSeparator11 = new javax.swing.JSeparator();		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);			}		});		jarNameTextField.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(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(90, 25));		addJarButton.setMinimumSize(new java.awt.Dimension(90, 25));		addJarButton.setPreferredSize(new java.awt.Dimension(90, 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);			}		});		srcDirTextField.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(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(90, 25));		addSourceDirButton.setMinimumSize(new java.awt.Dimension(90, 25));		addSourceDirButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25));		removeJarButton.setMinimumSize(new java.awt.Dimension(90, 25));		removeJarButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25));		removeSrcDirButton.setMinimumSize(new java.awt.Dimension(90, 25));		removeSrcDirButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25));		browseJarButton.setMinimumSize(new java.awt.Dimension(90, 25));		browseJarButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25));		browseSrcDirButton.setMinimumSize(new java.awt.Dimension(90, 25));		browseSrcDirButton.setPreferredSize(new java.awt.Dimension(90, 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));		disableEditKeyBindings(jarFileList);		jarFileList.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(evt);			}		});		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));		disableEditKeyBindings(sourceDirList);		sourceDirList.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(evt);			}		});		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);		classpathEntryTextField.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(evt);			}		});		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(90, 25));		browseClasspathEntryButton.setMinimumSize(new java.awt.Dimension(90, 25));		browseClasspathEntryButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25));		addClasspathEntryButton.setMinimumSize(new java.awt.Dimension(90, 25));		addClasspathEntryButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25));		removeClasspathEntryButton.setMinimumSize(new java.awt.Dimension(90, 25));		removeClasspathEntryButton.setPreferredSize(new java.awt.Dimension(90, 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));		disableEditKeyBindings(classpathEntryList);		classpathEntryList.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(evt);			}		});		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(90, 25));		sourceUpButton.setMinimumSize(new java.awt.Dimension(90, 25));		sourceUpButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25));		sourceDownButton.setMinimumSize(new java.awt.Dimension(90, 25));		sourceDownButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25));		classpathUpButton.setMinimumSize(new java.awt.Dimension(90, 25));		classpathUpButton.setPreferredSize(new java.awt.Dimension(90, 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(90, 25));		classpathDownButton.setMinimumSize(new java.awt.Dimension(90, 25));		classpathDownButton.setPreferredSize(new java.awt.Dimension(90, 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);			}		});		byClassBugTree.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(evt);			}		});		byClassScrollPane.setViewportView(byClassBugTree);		groupByTabbedPane.addTab("By Class", byClassScrollPane);		byPackageBugTree.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(evt);			}		});		byPackageScrollPane.setViewportView(byPackageBugTree);		groupByTabbedPane.addTab("By Package", byPackageScrollPane);		byBugTypeBugTree.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(evt);			}		});		byBugTypeScrollPane.setViewportView(byBugTypeBugTree);		groupByTabbedPane.addTab("By Bug Type", byBugTypeScrollPane);		bugSummaryEditorPane.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(evt);			}		});		bySummary.setViewportView(bugSummaryEditorPane);		groupByTabbedPane.addTab("Summary", bySummary);		bugTreeBugDetailsSplitter.setTopComponent(groupByTabbedPane);		bugDescriptionEditorPane.setEditable(false);		bugDescriptionEditorPane.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(evt);			}		});		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);		sourceTextArea.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(evt);			}		});		sourceTextAreaScrollPane.setViewportView(sourceTextArea);		bugDetailsTabbedPane.addTab("Source code", sourceTextAreaScrollPane);		annotationTextArea.addFocusListener(new java.awt.event.FocusAdapter() {			public void focusGained(java.awt.event.FocusEvent evt) {				focusGainedHandler(evt);			}		});		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);		{			equalizeControls( new JComponent[]				{					addJarButton,					addSourceDirButton,					addClasspathEntryButton,					removeJarButton,					removeSrcDirButton,					removeClasspathEntryButton,					browseJarButton,					browseSrcDirButton,					browseClasspathEntryButton,					sourceUpButton,					sourceDownButton,					classpathUpButton,					classpathDownButton				});				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);			consoleMessageArea.addFocusListener(new java.awt.event.FocusAdapter() {				public void focusGained(java.awt.event.FocusEvent evt) {					focusGainedHandler(evt);				}			});			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);			jPanel1.setLayout(new javax.swing.BoxLayout(jPanel1, javax.swing.BoxLayout.X_AXIS));			jPanel1.add(logoLabel);			growBoxSpacer.setMaximumSize(new java.awt.Dimension(16, 16));			jPanel1.add(growBoxSpacer);			gridBagConstraints = new java.awt.GridBagConstraints();			gridBagConstraints.gridx = 1;			gridBagConstraints.gridy = 1;			gridBagConstraints.anchor = java.awt.GridBagConstraints.SOUTHEAST;			gridBagConstraints.insets = new java.awt.Insets(2, 0, 2, 2);			getContentPane().add(jPanel1, gridBagConstraints);			theMenuBar.setFont(new java.awt.Font("Dialog", 0, 12));			fileMenu.setText("File");			fileMenu.setFont(new java.awt.Font("Dialog", 0, 12));			localiseButton(fileMenu, "menu.file_menu", "&File", true);			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.setText("New Project");			localiseButton(newProjectItem, "menu.new_item", "&New Project", true);			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.setText("Open Project...");			localiseButton(openProjectItem, "menu.open_item", "&Open Project", true);			openProjectItem.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					openProjectItemActionPerformed(evt);				}			});			fileMenu.add(openProjectItem);			recentProjectsMenu.setText("Recent Projects");			recentProjectsMenu.setFont(new java.awt.Font("Dialog", 0, 12));			localiseButton(recentProjectsMenu, "menu.recent_menu", "R&ecent Projects", true);			rebuildRecentProjectsMenu();			fileMenu.add(recentProjectsMenu);			fileMenu.add(jSeparator9);			closeProjectItem.setFont(new java.awt.Font("Dialog", 0, 12));			closeProjectItem.setText("Close Project");			localiseButton(closeProjectItem, "menu.close_item", "&Close", true);			closeProjectItem.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					closeProjectItemActionPerformed(evt);				}			});			fileMenu.add(closeProjectItem);			saveProjectItem.setFont(new java.awt.Font("Dialog", 0, 12));			saveProjectItem.setText("Save Project");			localiseButton(saveProjectItem, "menu.save_item", "&Save Project", true);			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.setText("Save Project As...");			localiseButton(saveProjectAsItem, "menu.saveas_item", "Save Project &As...", true);			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.setText("Reload Project");			localiseButton(reloadProjectItem, "menu.reload_item", "&Reload Project", true);			reloadProjectItem.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					reloadProjectItemActionPerformed(evt);				}			});			fileMenu.add(reloadProjectItem);			fileMenu.add(jSeparator3);			loadBugsItem.setFont(new java.awt.Font("Dialog", 0, 12));			loadBugsItem.setText("Load Bugs...");			localiseButton(loadBugsItem, "menu.loadbugs_item", "&Load Bugs...", true);			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.setText("Save Bugs");			localiseButton(saveBugsItem, "menu.savebugs_item", "Save &Bugs...", true);			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.setText("Exit");			localiseButton(exitItem, "menu.exit_item", "E&xit", true);			exitItem.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					exitItemActionPerformed(evt);				}			});			fileMenu.add(exitItem);			theMenuBar.add(fileMenu);			editMenu.setText("Edit");			editMenu.setFont(new java.awt.Font("Dialog", 0, 12));			editMenu.setEnabled(false);			localiseButton(editMenu, "menu.edit_menu", "&Edit", true);			cutItem.setFont(new java.awt.Font("Dialog", 0, 12));			cutItem.setText("Cut");			localiseButton(cutItem, "menu.cut_item", "Cut", true);			cutItem.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					cutActionPerformed(evt);				}			});			editMenu.add(cutItem);			copyItem.setFont(new java.awt.Font("Dialog", 0, 12));			copyItem.setText("Copy");			localiseButton(copyItem, "menu.copy_item", "Copy", true);			copyItem.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					copyActionPerformed(evt);				}			});			editMenu.add(copyItem);			pasteItem.setFont(new java.awt.Font("Dialog", 0, 12));			pasteItem.setText("Paste");			localiseButton(pasteItem, "menu.paste_item", "Paste", true);			pasteItem.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					pasteActionPerformed(evt);				}			});			editMenu.add(pasteItem);			editMenu.add(jSeparator10);			selectAllItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.event.InputEvent.CTRL_MASK));			selectAllItem.setFont(new java.awt.Font("Dialog", 0, 12));			selectAllItem.setText("Select All");			localiseButton(selectAllItem, "menu.selectall_item", "Select &All", true);			selectAllItem.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					selectAllActionPerformed(evt);				}			});			editMenu.add(selectAllItem);			theMenuBar.add(editMenu);			viewMenu.setText("View");			viewMenu.setFont(new java.awt.Font("Dialog", 0, 12));			localiseButton(viewMenu, "menu.view_menu", "&View", true);			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.setText("Console");			localiseButton(viewConsoleItem, "menu.console_item", "&Console", true);			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.setSelected(true);			viewBugDetailsItem.setText("Bug Details");			localiseButton(viewBugDetailsItem, "menu.bugdetails_item", "Bug &Details", true);			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.setSelected(true);			fullDescriptionsItem.setText("Full Descriptions");			localiseButton(fullDescriptionsItem, "menu.fulldescriptions_item", "&Full Descriptions", true);			fullDescriptionsItem.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					fullDescriptionsItemActionPerformed(evt);				}			});			viewMenu.add(fullDescriptionsItem);			viewMenu.add(jSeparator7);			filterWarningsMenu.setText("Filter Warnings");			filterWarningsMenu.setFont(new java.awt.Font("Dialog", 0, 12));			priorityButtonGroup.add(expPriorityButton);			expPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12));			expPriorityButton.setText("Experimental Priority");			localiseButton(expPriorityButton, "menu.exppriority_item", "&Experimental Priority", true);			expPriorityButton.setSelected(priorityThreshold == Detector.EXP_PRIORITY);			expPriorityButton.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					expPriorityButtonActionPerformed(evt);				}			});			filterWarningsMenu.add(expPriorityButton);			priorityButtonGroup.add(lowPriorityButton);			lowPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12));			lowPriorityButton.setText("Low Priority");			localiseButton(lowPriorityButton, "menu.lowpriority_item", "&Low Priority", true);			lowPriorityButton.setSelected(priorityThreshold == Detector.LOW_PRIORITY);			lowPriorityButton.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					lowPriorityButtonActionPerformed(evt);				}			});			filterWarningsMenu.add(lowPriorityButton);			priorityButtonGroup.add(mediumPriorityButton);			mediumPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12));			mediumPriorityButton.setText("Medium Priority");			localiseButton(mediumPriorityButton, "menu.mediumpriority_item", "&Medium Priority", true);			mediumPriorityButton.setSelected(priorityThreshold == Detector.NORMAL_PRIORITY);			mediumPriorityButton.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					mediumPriorityButtonActionPerformed(evt);				}			});			filterWarningsMenu.add(mediumPriorityButton);			priorityButtonGroup.add(highPriorityButton);			highPriorityButton.setFont(new java.awt.Font("Dialog", 0, 12));			highPriorityButton.setText("High Priority");			localiseButton(highPriorityButton, "menu.highpriority_item", "&High Priority", true);			highPriorityButton.setSelected(priorityThreshold == Detector.HIGH_PRIORITY);			highPriorityButton.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					highPriorityButtonActionPerformed(evt);				}			});			filterWarningsMenu.add(highPriorityButton);			filterWarningsMenu.add(jSeparator11);			viewMenu.add(filterWarningsMenu);			ButtonGroup bg = new ButtonGroup();			bg.add(expPriorityButton);			bg.add(lowPriorityButton);			bg.add(mediumPriorityButton);			bg.add(highPriorityButton);			viewMenu.add(jSeparator8);			viewProjectItem.setFont(new java.awt.Font("Dialog", 0, 12));			viewProjectItem.setText("View Project Details");			viewProjectItem.setEnabled(false);			localiseButton(viewProjectItem, "menu.viewprojectdetails_item", "View Project Details", true);			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);			localiseButton(viewBugsItem, "menu.viewbugs_item", "View Bugs", true);			viewBugsItem.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					viewBugsItemActionPerformed(evt);				}			});			viewMenu.add(viewBugsItem);			theMenuBar.add(viewMenu);			settingsMenu.setText("Settings");			settingsMenu.setFont(new java.awt.Font("Dialog", 0, 12));			localiseButton(settingsMenu, "menu.settings_menu", "&Settings", true);			configureDetectorsItem.setFont(new java.awt.Font("Dialog", 0, 12));			configureDetectorsItem.setText("Configure Detectors...");			localiseButton(configureDetectorsItem, "menu.configure_item", "&Configure detectors", true);			configureDetectorsItem.addActionListener(new java.awt.event.ActionListener() {				public void actionPerformed(java.awt.event.ActionEvent evt) {					configureDetectorsItemActionPerformed(evt);				}			});			settingsMenu.add(configureDetectorsItem);			theMenuBar.add(settingsMenu);			helpMenu.setText("Help");			helpMenu.setFont(new java.awt.Font("Dialog", 0, 12));			localiseButton(helpMenu, "menu.help_menu", "&Help", true);			aboutItem.setFont(new java.awt.Font("Dialog", 0, 12));			aboutItem.setText("About...");			localiseButton(aboutItem, "menu.about_item", "&About", true);			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