public void mouseClicked(MouseEvent evt) {
		// set last selected panel
		if (evt.getSource() == MainWindow.leftTable) {
			// left panel was last selected
			MainWindow.lastSelectedTable[0] = MainWindow.leftTable;
			MainWindow.lastSelectedTable[1] = MainWindow.rightTable;

		} else {
			MainWindow.lastSelectedTable[1] = MainWindow.leftTable;
			MainWindow.lastSelectedTable[0] = MainWindow.rightTable;
		}
		// if table header was clicked
		if (evt.getSource().equals(table.getTableHeader())) {
			tableHeadeClicked(evt);
			return;
		}

		// Double-click actions

		if (evt.getClickCount() == 2) {
			LOG.getClass();
			LOG.info("mouse clicked twice ");
			// Get item index
			int index = table.rowAtPoint(evt.getPoint());
			mouseClickedTwice(index);
		}
	}