• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

automatically position the cursor in a particularcell

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
reply
    Bookmark Topic Watch Topic
  • New Topic