public void mouseClicked(MouseEvent me) {
		System.out.println("Mouse clicked: " + me);
		if (me.getButton() == MouseEvent.BUTTON1) {
			if (currentRow != null) {
				currentRow = null;
				repaint();
			}
			else if (rowData != null) {
				try {
					int rowHeight = getHeight() / config.getNRows();
					int colWidth = getWidth() / rowData[0].length;
					int row = (int)((double)me.getY() / (double)rowHeight);
					int col = (int)((double)me.getX() / (double)colWidth);
					System.out.println("ROW: " + row + " rowheight: " + rowHeight + " y: " + me.getY());
					System.out.println("COL: " + col + " colwidth: " + colWidth + " x: " + me.getX());

					currentRow = rowData[row][col];

					if (currentRow != null)
						repaint();
				}
				catch(IndexOutOfBoundsException ioobe) {
					// clicked where no row was drawn, ignore
					System.out.println("no row known");
				}
			}
		}
	}