获取JTable点击事件的行和列

int row =((JTable)e.getSource()).rowAtPoint(e.getPoint()); //获得行位置 
int col=((JTable)e.getSource()).columnAtPoint(e.getPoint());

  

原文地址:https://www.cnblogs.com/wwssgg/p/14817900.html