private void blacklistAddActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_blacklistAddActionPerformed
    String text = userlistField.getText().trim();
    if (text.length() > 0) {
      if (text.matches("[^\\u0023]*")) {
        text = text + "#" + defaultProjectField.getText();
        userlistField.setText(text);
      }
      if (!config.blacklistModel.contains(userlistField.getText())) {
        if (config.whitelistModel.contains(userlistField.getText()))
          config.whitelistModel.removeElement(userlistField.getText());
        if (config.greylistModel.contains(userlistField.getText()))
          config.greylistModel.removeElement(userlistField.getText());
        config.blacklistModel.addElement(userlistField.getText());
      }
      userlistField.setText("");
      blacklistList.clearSelection();

      synchronized (config.editstableTable.getTreeLock()) {
        String[] parts = text.split("#");
        for (i = data.editstableModel.getRowCount() - 1; i >= 0; i--) {
          if (parts[0].equals(data.editstableModel.getValueAt(i, config.editorcol))
              && parts[1].equals(data.editstableModel.getValueAt(i, config.projectcol))) {
            ListIndicator li = (ListIndicator)data.editstableModel.getValueAt(i, config.listcol);
            li = li.addList(ListIndicator.BLACK);
            data.editstableModel.setValueAt(li, i, config.listcol);
          }
        }
      }
    }
  }