This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I don't understand? Do you want to put the focus somewhere else (click on another component)? Do you want to know when the cell loses focus (add a listener)? Perhaps you could explain a bit more about what you're trying to do?
Some possibilities might be: 1 — use JTable methods table.clearSelection, table.changeSelection or perhaps any of several methods available in the tables ListSelectionModel obtained by table.getSelectionModel or table.getColumnModel.getSelectionModel how to move the focus from table to other component... 2 — work with the focus subsystem information and examples on focus control for j2se 1.4+ How to Use the Focus Subsystem in the tutorial and The AWT Focus Subsystem in the javadocs 3 — work with the KeyboardFocusManager KeyboardFocusManager kfm = KeyboardFocusManager.getCurrentKeyboardFocusManager and calling methods like kfm.focusNextComponent and kfm.focusPreviousComponent 4 — use default LAF focus traversal with the tab key try pressing the tab and control keys to leave the JTable.