private void SHRemoveButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SHRemoveButtonActionPerformed
        // TODO add your handling code here:
        //remove stakeholder from arraylist
        String tempName = (String) StakeholderList.getSelectedValue();
        //remove stakeholder from arrayList Stakeholders
        for (int i = 0; i < Stakeholders.size(); i++){
            if (Stakeholders.get(i).getName().equals(tempName) ){
                //remove relationship from each member
                for (Stakeholder member: Stakeholders) 
                {
                    member.removeRelationship(i);
                }
                //remove from arrayList
                Stakeholders.remove(i);
                break;
            }
        }
        //remove stakeholder from jlist
        DefaultListModel model = (DefaultListModel) StakeholderList.getModel();
        int selectedIndex = StakeholderList.getSelectedIndex();
        if (selectedIndex != -1) {
            model.remove(selectedIndex);
            StakeholderList.setModel(model);
            InformationLabel.setText("Stakeholder " + tempName + " removed");
            }
        //disable stakeholder editing buttons until one is chosen
        SHSaveButton.setEnabled(false);
        SHEditButton.setEnabled(false);
        SHRemoveButton.setEnabled(false);
    }//GEN-LAST:event_SHRemoveButtonActionPerformed