"Bug Detector", "Enabled"
"Bug Detector", "Speed", "Enabled"
    private void initComponents() {//GEN-BEGIN:initComponents        java.awt.GridBagConstraints gridBagConstraints;        detectorTableScrollPane = new javax.swing.JScrollPane();        detectorTable = new javax.swing.JTable();        detectorDescriptionScrollPane = new javax.swing.JScrollPane();        detectorDescription = new javax.swing.JEditorPane();        jSeparator1 = new javax.swing.JSeparator();        okButton = new javax.swing.JButton();        cancelButton = new javax.swing.JButton();        spacer = new javax.swing.JLabel();        getContentPane().setLayout(new java.awt.GridBagLayout());        setTitle("Configure Detectors");        addWindowListener(new java.awt.event.WindowAdapter() {            public void windowClosing(java.awt.event.WindowEvent evt) {                closeDialog(evt);            }        });        detectorTableScrollPane.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED));        detectorTable.setModel(new javax.swing.table.DefaultTableModel(            new Object [][] {            },            new String [] {                "Bug Detector", "Enabled"            }        ) {            Class[] types = new Class [] {                java.lang.String.class, java.lang.Boolean.class            };            boolean[] canEdit = new boolean [] {                false, true            };            public Class getColumnClass(int columnIndex) {                return types [columnIndex];            }            public boolean isCellEditable(int rowIndex, int columnIndex) {                return canEdit [columnIndex];            }        });        populateTable();        detectorTable.getColumnModel().getColumn(1).setMaxWidth(60);        detectorTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);        detectorTableScrollPane.setViewportView(detectorTable);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridwidth = 3;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(6, 6, 2, 6);        gridBagConstraints.weightx = 1.0;        gridBagConstraints.weighty = 0.8;        getContentPane().add(detectorTableScrollPane, gridBagConstraints);        detectorDescriptionScrollPane.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED));        detectorDescriptionScrollPane.setMinimumSize(new java.awt.Dimension(25, 25));        detectorDescriptionScrollPane.setPreferredSize(new java.awt.Dimension(110, 120));        detectorDescriptionScrollPane.setViewportView(detectorDescription);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 1;        gridBagConstraints.gridwidth = 3;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.insets = new java.awt.Insets(2, 6, 2, 6);        gridBagConstraints.weighty = 0.3;        getContentPane().add(detectorDescriptionScrollPane, gridBagConstraints);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 2;        gridBagConstraints.gridwidth = 3;        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints.insets = new java.awt.Insets(3, 0, 3, 0);        getContentPane().add(jSeparator1, gridBagConstraints);        okButton.setMnemonic('O');        okButton.setText("OK");        okButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                okButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 3;        gridBagConstraints.insets = new java.awt.Insets(0, 0, 4, 2);        getContentPane().add(okButton, gridBagConstraints);        cancelButton.setMnemonic('C');        cancelButton.setText("Cancel");        cancelButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                cancelButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 2;        gridBagConstraints.gridy = 3;        gridBagConstraints.insets = new java.awt.Insets(0, 2, 4, 6);        getContentPane().add(cancelButton, gridBagConstraints);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 3;        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints.weightx = 1.0;        getContentPane().add(spacer, gridBagConstraints);        pack();    }//GEN-END:initComponents