public void actionPerformed(ActionEvent e) {
			
		if(e.getSource() == readRow){
			int temp[] = new int[7];
			for(int i = 0; i < 7; i++){
				temp[i] = Integer.parseInt(arrRow[i].getText());
			}
			controller.storeRow(temp);
		}
		if(e.getSource() == writeRow){
				controller.writeRow();
				updateArray();
		}
		if(e.getSource() == inputRowNbr){
			int rowNbr = Integer.parseInt(JOptionPane.showInputDialog(null, "Input row number: "));
			controller.writeRow(rowNbr);
			updateArray();
		}
		if(e.getSource() == readCol){
			int temp[] = new int[7];
			for(int i=0; i < 7; i++){
				temp[i] = Integer.parseInt(arrCol[i].getText());
			}
			controller.storeCol(temp);
		}
		if(e.getSource() == writeCol){
			controller.writeCol();
			updateArray();
		}
		if(e.getSource() == inputColNbr){
			int colNbr = Integer.parseInt(JOptionPane.showInputDialog(null, "Input col number: "));
			controller.writeCol(colNbr);
			updateArray();
		}
		
		
	}