Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable.setEditingRow Doesn't Seem to Work

 
Kaydell Leavitt
Ranch Hand
Posts: 690
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to have a JTable where when a return key is pressed, the editing focus goes down one row. I'm trying to use getEdingRow() and setEditingRow(), but I can't seem to move the cell editor around with these calls.

Here is some of my code:


 
Kaydell Leavitt
Ranch Hand
Posts: 690
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The method JTable.editCellAt() isn't working for me either. It returns "true", but doesn't seem to do anything:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic