I know it is possible to suppress inputs(including keystrokes) in languages such as c++, c#, and visual basic. As well as through programs such as luamacros and Auto Hotkey. Is there a way to do this in java? If so, how? Is there a library or would I have to write my own?
Edit: To clarify I need this to be native such that it is possible to for instance disable the 8 key in any program.