This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Game Development and the fly likes keyboard arrow keys not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "keyboard arrow keys not working" Watch "keyboard arrow keys not working" New topic
Author

keyboard arrow keys not working

rahul taiwala
Greenhorn

Joined: Feb 06, 2011
Posts: 12
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11441
    
  16

I'm sorry, but is there a question here?

Generally, the best way to get help on our forum is to provide as much information as possible. Simply posting 300+ lines of code will cause most folks I know to simply skip right over this, as it's too much work. Not only would they have to solve your problem, they'd have to work pretty hard to figure out what your problem is.

Does this compile? do you get error messages? Can you limit the code you post to the relevant segment?


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
rahul taiwala
Greenhorn

Joined: Feb 06, 2011
Posts: 12
sorry fred, from next time I will keep your words in mind.
And for this problem it is solved,my panel was not getting focus,just tried to get it using requestfocus() method and it is solved..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: keyboard arrow keys not working