title: how to detect double clicks in MouseInput in Java swing?
body: <p>How can I catch when user double clicks on the component?</p>
  
  <pre><code> window.getComponent().addMouseListener(new MouseInputAdapter(){
              public void mouseClicked(final java.awt.event.MouseEvent evt) {
                  Xpcom.invokeLater(new Runnable() {
                      public void run() {
  
                      }
                  });                
              }
          })
  
  ;
  </code></pre>