@Override
		public void actionPerformed(ActionEvent event) {
			if(event.getActionCommand().equals("Add")){
				String userkey = projectName.getText().toString();
			
				String mess = cri_dao.saveCriteria(userkey);
				message.setText(mess);
				projectName.setText("");
				
				if(mess.contains("ADD_CRITERIA_SUCCESSED")){
					model.addRow(new Object[]{userkey}); 
					
				
				}
				
				
			}
			else if(event.getActionCommand().equals("Delete")){
				String userkey = projectName.getText().toString();
				
				String mess = cri_dao.deleteCriteria(userkey);
				message.setText(mess);
				projectName.setText("");
				int length = model.getRowCount();
				for(int i=0;i<length;i++){
					if(model.getValueAt(i, 0).toString().equals(userkey)){
						model.removeRow(i);
						break;
					}
				}
			}
			
		}