public void setValueAt(Object val, int row, int col) {

		// reference value
		if (col == 0) {
			if (val.equals("")) {
				this.referenceIndex = -1;
				this.referenceSize = 0.0;
			} else {
				this.referenceIndex = row - 1;
				this.referenceSize = Double.parseDouble(val.toString());
			}

			// artifact name
		} else if (col == 1) {
			this.artifacts[row - 1] = val.toString();

			// judgment matrix
		} else if (row > 0 && col > 1) {
			this.judgmentMatrix[row - 1][col - 2] = Double.parseDouble(val
					.toString());
		}

		this.fireTableDataChanged();
	}