title: Double click event using Robot class in awt package
body: <p>I have already seen lot of threads regarding double click events using <code>MouseEvent</code>. But that is not what I am looking for. I recently started using <code>Robot</code> class and came across few functions of mouse like <code>mouseMove(x,y)</code>, <code>mouseRelease(int buttons)</code>.</p>
  
  <p><code>Robot</code> class provides <code>mousePress(int button);</code> function as well. I have tried this. </p>
  
  <pre><code>Robot robot = new Robot();
  robot.mouseMove(305, 450);
  robot.mousePress(InputEvent.BUTTON1_DOWN_MASK);
  robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
  </code></pre>
  
  <p>But this is a single click event. What I am trying to achieve is the double click event using <code>Robot</code> class. Is it possible to achieve that ? If so. then how ?</p>