This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Robot keyPress issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Robot keyPress issue " Watch "Robot keyPress issue " New topic
Author

Robot keyPress issue

Trimbitas Sorin-Iulian
Greenhorn

Joined: Feb 16, 2011
Posts: 2
Hello all,

I'm trying to send keystrokes (like a Virtual keyboard) from my Java code but I encounter some issues .. it works perfectly on normal applications (for example .. Notepad, browsers etc) but not on games (fullscreen or windowed mode).

This is the stripped code I'm using :




Can you please help?

Thank you

Sorin
 
wood burning stoves
 
subject: Robot keyPress issue
 
Similar Threads
is this possible?
Java Robots problem
how this line works?
AWTException
keypress + Robot + Method