title: Detect double click in mouseReleased method
body: <p>I need to use mouseReleased method instead of mouseClicked so i need to find a way to Intercept double click. this is the code:</p>
  
  <pre><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);
      }
  }
  </code></pre>
  
  <p>The problem is that when I double-click I have also a single click event. Can anyone know ho to fix that? Thanks</p>