I got this problem that i have to solve urgently- i have a JTable which uses the DefaultTableModel and has a listener extending TableModelListener. I have three columns which are all JtextFields. What i want is for the listener to be notified whenever the data in one of the cells changes- as the user id typing in the cell- I want to do some validation and change the color of the text. Right now the listener is notified only when the focus changes from the cell. Is there any way of the listener being notified while the cell is having focus and its contents change?