Added mouseListener to the table.