posted 15 years ago
I have a JTable with editable cells. When I click on each cell with the mouse the text is highlighted so that when the user starts typing the existing text is overwriten. I have done this by using focuslistener and selectall() method when focusgained. However this doesn't seem to work if I use the tab key or the up down arrow keys to move to the next cell. Can anyone help me with this?