This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Cursor positon within JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Cursor positon within JTable" Watch "Cursor positon within JTable" New topic
Author

Cursor positon within JTable

Saket Barve
Ranch Hand

Joined: Dec 19, 2002
Posts: 229
There's a scenario where I explicitly add rows to a table and am then required to set the cursor in the first column of this newly added row.

Once the row is set into the table model, I am making use of the following code to do the needful:



However, this code block merely makes the newly added row selected without any trace of the cursor. How may I tackle this?

Thanks,
Saket
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Cursor positon within JTable
 
It's not a secret anymore!