Event/Focus/Key Listener Problem.
Posted on 1998-06-01
I am trying to write a java GUI application where one of the screen is to have several buttons. I want to make it where I can simply type in (using the keyboard) a specified key and have the focus transfer from one key to the specified key. For example, if key "A" has the focus and I want key "C" to gain the focus from key "A", I just want to press key C on the keyboard and not use the mouse. This application is written for a power user I guess.
I can make the focus traverse the button list so that's not what I want, I want the focus to pass button B if its presently on button A and I type C on the keyboard.