Forum Discussion

hogueybear's avatar
hogueybear
Occasional Contributor
10 years ago

javax.swing.JTable does not scroll to display off screen cell?

From what I read here when I attempt to acces a table cell that is not visible TC should automatically scroll to display the cell.   This is not working for my swing jtables?   I did the object m...
  • hogueybear's avatar
    hogueybear
    10 years ago

    I still have not been able to get tc to scroll to the cells automagically, but ...

     

    table.scrollRowToVisible( row#);

    table.scrollColumnToVisible( col # ); 

     

    Work wonderfully for us.