title: java mouse capture
body: <p>How do I capture the mouse in a Java application so that all mouse events (even ones that happen if the mouse is moved outside the app window) are seen by the Java app?  This is like the Windows SetCapture function.</p>