This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Pressing Enter on JTable, Not jumping to Next Row  RSS feed

Jeff Holmes
Ranch Hand
Posts: 44
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JTable that a user can select only one row and non of the fields are editbale, it is to display data only. I have the enter key captured when user presses a key, and I display a dialog when enter is pressed. Everything works great, but how do I stop the default behavior of the return key not causing the jTable to go to the next line? Any ideas? Thanks, Jeff
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!