I need to use mouseReleased method instead of mouseClicked so i need to find a way to Intercept double click. this is the code:
public void mouseReleased(MouseEvent e)
{
if (e.getClickCount() == 2)
System.out.println ("Double CLICK mouseReleased");
else
{
row= clientTable.rowAtPoint(e.getPoint());
col= clientTable.columnAtPoint(e.getPoint());
clientTable.sel(row, col);
}
}
The problem is that when I double-click I have also a single click event. Can anyone know ho to fix that? Thanks