Archie King
Archie King
``` Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() { @Override public void run() { try { GlobalScreen.unregisterNativeHook(); } catch (NativeHookException e) { e.printStackTrace(); } for (File f : temps) { f.deleteOnExit(); } } }));...
I stopped it posting to console. Alright. I understand, thank you for your time.
Alright, great.
I'll test this tonight!
I assume the last bit I would do on a shutdown hook? Like... m = null etc.?
Cannot resolve symbol T
java.lang.NoSuchMethodException: org.jnativehook.GlobalScreen.registerHook(org.jnativehook.GlobalScreen) I tried changing registerHook to registerNativeHook - same thing.