title: Java Keylistener without window being open?
body: <p>I'm trying to create an auto-clicker in Java(only language I know and I just learned Threads). I want to have the applet open in it's own window(not on a webpage), and I want to be able to start and stop the program with the spacebar without the window being selected so that I can use the auto-clicker on another program and be able to stop it without alt-f4ing a bunch of stuff.</p>
  
  <p>Is there anything you can refer me to that can help me along with this? Or do you have any suggestions?</p>