public void actionPerformed (ActionEvent event) {
			String eventName=event.getActionCommand();	
			// Cancel
			if (eventName.equals("Cancel"))	{
				changedTriggers=false;
				dispose();
			}
			// OK
			if (eventName.equals("OK"))	{	
				// Check the entries
				if (checkTrigger()==true)	{
					changedTriggers=true;
					dispose();
				}
			}
	}