For example Minecraft while playing the cursor is locked/hidden in the middle of the screen but the application can still take in the mouse movements.
Here is how it looks in minecraft
How to accomplish this in java app?
Do i need to use openGL or lwjGl or can this be done with 'Vanilla Java'
Thank you!!