B
blue
Hello All (I posted this in the java.gui group also, but that group doesn't
seem to be used much more than a couple times per day),
I have a JTable with a DefaultTabelModel. I have applied my own focus
listener (lost/gained) to a JTextField which I am using as the cell editor.
My problem is this: If I use the mouse to actually click into a cell, the
focus gained even will fire for my textfield and tabbing off the field will
fire the focus lost event. However, if I tab between cells without using
the mouse, the focus gained and focus lost event do not fire.
Am I missing something?
Thanks,
Frank
seem to be used much more than a couple times per day),
I have a JTable with a DefaultTabelModel. I have applied my own focus
listener (lost/gained) to a JTextField which I am using as the cell editor.
My problem is this: If I use the mouse to actually click into a cell, the
focus gained even will fire for my textfield and tabbing off the field will
fire the focus lost event. However, if I tab between cells without using
the mouse, the focus gained and focus lost event do not fire.
Am I missing something?
Thanks,
Frank