File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 688

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: 688

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
 
Similar Threads
Pulling my hair out over this one! Indexing issue
Form Params not passed properly
forms submit with collection
Removing multiple if conditions
Domain class design question