My application has a JTable with a custom editor defined on one of the columns. What I'd like to do is to disable the JTable from selecting the next line when the user hits the Return key. I know that pressing the Return key commits the change to the data being displayed. I want to prevent the JTable from changing the selection to the next line after committing the change. Is this possible? If so, how do I do it? If you can, please either include a code snippet in your reply or point me to where I can see some code that does this. Thanks in advance.