File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Game Development
Bookmark "keyboard arrow keys not working" Watch "keyboard arrow keys not working" New topic

keyboard arrow keys not working

rahul taiwala

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

Joined: Oct 02, 2003
Posts: 11923

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

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..
I agree. Here's the link:
subject: keyboard arrow keys not working
It's not a secret anymore!