sfo_sc
14 years agoContributor
Right click certain row on a table grid
I have a java swing grid object which contains a lot of logs. When I look at the object with object spy, the only Action I found is clicking with x and y coordinates. I do not see ClickItem() menthod in the object the method windows. I have solve the problem for selecting the right row by using setRowSelectionInterval(nRowIndex,nRowIndex) method. But if I need to right click the row to bring up a pop up menu, how do I get the x, y coordinates of the row or is there a smarter way to do that action?
Thanks,
Simon
Thanks,
Simon