Hi,
I hava a jtable with custom controls and there are two kinds of custom
controls. One is derived from jtextfield and the other one derives
from a panel with a textfield and a button on it.
As long as i'm dealing with editor controls that derive from
textfield, i have no problems, i've even managed to pass to the next
cell using tab key (by using processkeybinding on jtable). But when i
used editCellAt for editing my editor deriving from panel, i had to
set the focus to textbox on panel.
After that i've tried to capture the tab key in the text field on
panel (on my custom editor). Even if i catch the tab key, i could not
edit the next cell (which is another custom editor deriving from
jtextField) . Would someone please point me to main steps for
obtaining this behaviour ? I'd also like to do the same with enter
key. As i've said, the composite problem is where i am stuck right
now, since i can get in, but can't get out of this control. Any help
is appreciated a lot.
Best Regards
Seref Arikan
Marc Dzaebel - 29 Jan 2004 17:48 GMT
> now, since i can get in, but can't get out of this control.
I'm unclear about your problem but it seems to me you need to call
stopCellEditing() in your DefaultCellEditor subclass.
Marc