How exactly do you attach the mouse to a specified Java window so that the mouse movements are dedicated ONLY to that application?
Ideally, I would like the cursor to remain visible, but only be allowed to remain within the window bounds unless released.