So, I have this method (with nothing in it yet)
class Transmitter {
public static void main(String[] args) {
}
}
and I want to put a keylistener in it, to detect when the space key is pressed. I've looked at tutorials online, and they are all to complicated for my needs; I just want a simple "Print something in the console" when the space key is pressed. Thanks!