Guys, there was such a problem: there is a table, by clicking on its cell an event should be created. Here's how to do it, I do not know. Tell me please. Thank you =)

    1 answer 1

    Use MouseListener , and in it you can already find the column and row numbers ( getSelectedRow and getSelectedColumn ).