emptyCursor = new Cursor(1, 1, 0, 0, 1, BufferUtils.createIntBuffer(1), null);
Mouse.setNativeCursor(emptyCursor);
Well, that works. Thanks!
Any idea how to undo that ? I tried Mouse.getNativeCursor(); to retrieve the default cursor before hiding the cursor but it doesn't work. Seems to deal only with custom cursors.
I need to change the cursor visibility between menu and game (pretty often).