To edit text as it is typed into a text component you should use a DocumentFilter. Read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html#filter]Implementing a Document Filter[/url].
Or, you could try using a JFormattedText field as the editor for the cell.