When I use the default lwjgl Canvas3D by calling
and then call
canvas.setCursor( null );
then the mouse is captured, and you cant leave the screen without pressing alt-tab.
However, in the Canvas3DPanel I can't find a way to capture the mouse.
Can you tell me where I can take control of this? I would like to be able to have a null cursor in the lwjgl frame but also not have the mouse captured.
I also want to be able to capture the mouse in the Canvas3DPanel.
Note, perhaps "Capture" is the wrong terminology. I always want to receive mouse events if the canvas is focused, but I want to be able to control whether the user can focus on another window with their mouse.