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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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: 679

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

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JTable.setEditingRow Doesn't Seem to Work
 
Similar Threads
Pulling my hair out over this one! Indexing issue
Form Params not passed properly
Removing multiple if conditions
forms submit with collection
Domain class design question