JTable with Combobox - key navigation problem

hi

I want to control Key navigation in JTable with Jcombobox inside one cell. How to give focus to combobox and get back to Jtable while navigating using keyboard.

I can't get the foucs back to my JTable from the combox .

please help me to solve this problem.

waiting for reply,

Jana

[325 byte] By [247a] at [2007-11-27 9:07:17]
# 1

I haven't tried to do exactly what you're trying to do, but if it were my problem, I would:

1) Create a subclass of AbstractAction that calls requestFocusInWindow() on your JTable. Set an accelerator key for this action.

2) Establish a key binding for the panel holding the table to the action you just defined.

Code for key bindings at:

http://forum.java.sun.com/thread.jspa?threadID=5188746&tstart=25

mbmerrilla at 2007-7-12 21:43:50 > top of Java-index,Desktop,Core GUI APIs...