Mouse Grab

Hi,
Im using JOGL but i havent found a way to grab the mouse :frowning:

The only way i know is using LWJGL. But i want avoid changing all the code.

Somebody can help with that?

if you are using fullscreen you can hide the mouse by changing it to a blank image.

setCursor(getToolkit().createCustomCursor(
new BufferedImage(3, 3, BufferedImage.TYPE_INT_ARGB),
new Point(0, 0), "null"));