posted 22 years ago
Paul,
My code is essentially identical. So I'm not sure what other setting(s) may be affecting this outcome. In debug, if I breakpoint on the 'If' statement, e.getClickCount() always == 1.
Gary
table.addMouseListener(new MouseAdapter()
{
public void mouseClicked(MouseEvent e)
{
if (e.getClickCount() == 2)
{
Point p = e.getPoint();
int row = table.rowAtPoint(p);
int column = table.columnAtPoint(p); // This is the view column!