public void tableHeadeClicked(MouseEvent e) {
		System.out.println(e.getComponent().getClass());

		int col = MainWindow.leftTable.columnAtPoint(e.getPoint());
		String name = MainWindow.leftTable.getColumnName(col);
		if (tableModel.isSorted()) {
			tableModel.setSorted(false);
			tableModel.changeTableData();
		} else {
			tableModel.setSorted(true);
			tableModel.changeTableData();
		}
		System.out.println("----------Column index selected " + col + " "
				+ name);
	}