java - How to get the table whose cell is currently being clicked? -
i've 2 tables in panels. when click on first table on cell, row getting selected. , when click on second table on cell, row getting selected. now, how come know, table last clicked. tried isrowselected on both tables, both returning, i'm not able find last clicked table? can me? you have read how jtable listselectionlistener works, you have understand both concepts, simple example here , here