This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cursor positon within JTable

 
Saket Barve
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic