|
Author |
Topic: Tab Key doesn't work? (Read 2811 times) |
|
brendanberg
|
Tab Key doesn't work?
« on: Aug 7th, 2004, 6:45am » |
|
I can't seem to get a the tab key to send key events. the code: void keyPressed () { println ("Key code: " + key); } will output for every key except for the tab key. Bug? Undocumented feature? (Running 68 on OS X)
|
--Berg
|
|
|
fry
|
Re: Tab Key doesn't work?
« Reply #1 on: Sep 2nd, 2004, 8:40pm » |
|
it may just be a mac java bug, that it's trying to shift focus when you hit tab.. tho there are also some p5 bugs in key handling so i'll look into it.
|
|
|
|
fry
|
Re: Tab Key doesn't work?
« Reply #2 on: Sep 21st, 2004, 12:53am » |
|
found the issue.. java 1.4 no longer passes tabs through unless you tell the applet that you aren't interested in using the tab key to set focus. changed the default behavior for p5 applets to send the tab on through so your code would work.
|
|
|
|
|