Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

automatically position the cursor in a particularcell

 
Iskandar Wahab
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a table to be used with JDBC. due to some restrictions i must not use scrollbars and mouse to select cells in this table. I have managed to traverse the table by using button clicks. The question is how do i programmatically position the cursor on a single cell ONLY when the row in which the cell resides is selected.
can anyone help me please.
Thanks a lot.
 
Sayuri Coppinger
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure I follow your question completely, but to select a single cell, you need to call the setCellSelectionEnabled() method on the table, and to move the selection to a different cell, you can use the changeSelection(...) method
[This message has been edited by Sayuri Coppinger (edited August 11, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic