@Override
		public void actionPerformed(ActionEvent event) {
			String userkey = projectName.getText().toString();	
			String mess = p_dao.saveProject(userkey);
		
			if(event.getActionCommand().equals("Add")){

				if(!userkey.equals(""))	{
					message.setText(mess);
					projectName.setText("");
					if(mess.contains("SAVE_PROJECT_SUCCESS"))
						model.addRow(new Object[]{userkey}); 
				}
			}

			else if(event.getActionCommand().equals("Delete")){

				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;
					}
				}
			}
			
		}