Is the Java KeyListener universal meaning that it will work for any application that I type into?
If not, how can I make it universal?
It is not universal. It only works if the component you registered it for has focus. You can use keyboard hooks to make it universal, but you will either have to use JNI or JNA to integrate the native code.