public void addRow(Object[] array) {
		// data[rowIndex][columnIndex] = (String) aValue;

		// add row to database
		EntityTransaction userTransaction = manager.getTransaction();
		userTransaction.begin();
		Project newRecord = projectService.createProject((String) array[0],
				(String) array[1], (String) array[2], (String) array[3],
				(String) array[4], (String) array[5], (String) array[6],
				(String) array[7], (String) array[8], (String) array[9]);
		userTransaction.commit();

		// set the current row to rowIndex
		projectResultList.add(newRecord);
		int row = projectResultList.size();
		int col = 0;

		// update the data in the model to the entries in array
		for (Object data : array) {
			setValueAt((String) data, row - 1, col++);
		}

		numrows++;
	}