Forums Register Login

Another KeyListener Problem - Java wont recognize certain keys being pressed.

+Pie Number of slices to send: Send
Java wont recognize when I press the 'TAB' key. It recognizes every other key correctly, but when i hit 'TAB' it doesn't even trigger the keyPressed() method. I tried running it through eclipse and through the command prompt.

Is this a common problem? I couldn't find anything on it anywhere else.
And is there a way I can make Java recognize it?

Thanks,
Stephen.
+Pie Number of slices to send: Send
It recognizes the key press, but the program may not do with it what you want it to do. Read this page for more info. Search for 'tab' if you're in a hurry.
+Pie Number of slices to send: Send
Thanks, that told me exactly what i needed.
+Pie Number of slices to send: Send
Stephen, is your previous question resolved? Either way, we';d like to know (in that thread, not here).
I'm thinking about a new battle cry. Maybe "Not in the face! Not in the face!" Any thoughts tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 934 times.
Similar Threads
Problem with JTabbed pane focus
want to disable ALT+TAB key using java
keylistener for TAB key
Disabling JTable Cell selections
Fatal: Read Error: Could not read or parse the JNLP file.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:37:29.