aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTable.setEditingRow Doesn't Seem to Work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable.setEditingRow Doesn Watch "JTable.setEditingRow Doesn New topic
Author

JTable.setEditingRow Doesn't Seem to Work

Kaydell Leavitt
Ranch Hand

Joined: Nov 18, 2006
Posts: 689

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

Joined: Nov 18, 2006
Posts: 689

The method JTable.editCellAt() isn't working for me either. It returns "true", but doesn't seem to do anything:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable.setEditingRow Doesn't Seem to Work