title: How to programmatically fire a MouseEvent to a MouseListener with Java?
body: <p>I have a <code>JTree</code> with a custom associated <code>MouseListener</code> (for showing popup etc.). I need to fire a <code>MouseEvent</code> that will be caught by the <code>MouseListener</code>. How should I do that programmatically?</p>