title: generating a MouseEvent in JavaFX
body: <p>I'm in need of simulating a <code>MouseEvent.MOUSE_CLICKED</code>. I want to use the <strong>fireEvent</strong> method of a particular <strong>Node</strong> in order to dispatch an event of the aforementioned type. However, I am struggling with generating one. It appears that <strong>javafx.scene.input.MouseEvent</strong> has no valid constructor, but old <code>java.awt.event.MouseEvent</code> objects can be instantiated this way. Still, I haven't found any working solution for conversion. How do I go around this?</p>
  
  <p>Thanks.</p>