wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Keylistener trouble Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Keylistener trouble" Watch "Keylistener trouble" New topic
Author

Keylistener trouble

Jamie Vaugh
Greenhorn

Joined: May 09, 2009
Posts: 19
Currently I enjoy playing many games, these games can be a pain and very boring to get gold/items etc.. so I've recently made an auto clicker of which will click in place but the problem is when the clicker is activated I've made the GUI set to 'setvisivle(false)' so the GUI doesn't get in the way, currently as the Java clicker has clicked off the GUI and is now clicking on another window, there isn't any ways to stop this clicking, so I've recently tryed making it so when i press 'F12' it will 'setVisible(true)' and stop the clicking, but I don't know any way to make the listener, listen for keys off the Java application.

Need help :S
Chris Nash
Greenhorn

Joined: May 20, 2009
Posts: 28
I'm sorry, I'm having trouble understanding what it is you want to do. You want to listen for keys pressed in a Java application, but you you don't have access to the Java source?


- Frecklefoot
"What you are good at is not as important as being good at something." --Robert B.Parker
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Keylistener trouble
 
Similar Threads
card game
Still confused about classpath
instance withput reference
Passing Variables Through Callback
Co-dependent Classes