hogueybear
10 years agoOccasional Contributor
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 mapping and have the correct addon's for swing desktop added.
Currently using tc version 10.
Can I get the x,y coordinates of a table cell? If yes, then I could write a function to scroll until the cell was visible.
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.