public void actionPerformed (ActionEvent event) {
		String eventName=event.getActionCommand();	
		// OK
		if (eventName.equals("OK"))	{
			// Transfer the trigger this to the main program
			TtheApp.setListTriggers(triggerList);
			changedTriggers=true;
			dispose();
		}
		// Cancel
		else if (eventName.equals("Cancel"))	{
			changedTriggers=false;
			dispose();
		}
		// Delete a trigger
		else if (eventName.equals("Delete the selected Trigger"))	{
			deleteTrigger();
		}
		// Edit a trigger
		else if (eventName.equals("Edit the selected Trigger"))	{
			// Find the name of the selected Trigger
			String selectedTriggerName=(String) triggerComboList.getSelectedItem();
			// Get the list index of this trigger
			int index=getTriggerIndex(selectedTriggerName);
			// Check if anything has been selected
			if (index==-1)	{
				JOptionPane.showMessageDialog(null,"Please select the Trigger you wish to edit.","Rivet", JOptionPane.ERROR_MESSAGE);
				return;
			}
			TriggerModifyAddEdit triggerMod=new TriggerModifyAddEdit(this,triggerList.get(index));
			// Has a trigger changed ?
			if (triggerMod.isChangedTriggers()==true)	{
				// Remove the old trigger
				triggerList.remove(index);
				// Add the edited trigger
				triggerList.add(triggerMod.exposeTrigger());
				// Ensure the object knows that changes have been made
				changesMade();
			}	
		}
		// Add a trigger
		else if (eventName.equals("Add a new Trigger"))	{
			TriggerModifyAddEdit triggerMod=new TriggerModifyAddEdit(this,null);
			// Has a trigger changed ?
			if (triggerMod.isChangedTriggers()==true)	{
				triggerList.add(triggerMod.exposeTrigger());
				// Ensure the object knows that changes have been made
				changesMade();
			}
		}	
	}