}
}//GEN-LAST:event_btSetResolutionActionPerformed
private void btAddDirectionsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btAddDirectionsActionPerformed
try {
DlgDirectionSearch dialog = new DlgDirectionSearch(MainWindow.mainWindow, committee);
dialog.setVisible(true);
if (dialog.getDlgResult() == ModalDialog.DLG_CANCEL) {
return;
}
ArrayList<CommitteeDirectionData> list = dialog.getDirMemList();
for (int i = 0; i < list.size(); i++) {
DirectionLocal dir = list.get(i).getDirection(getAuditManager());
boolean isIn = false;
for (int j = 0; j < comDirList.size(); j++) {
if (dir.getID() == comDirList.get(j).getDetails().directionID) {