
Signature
Roland Praehofer webdesign.sound.virtual_environments
email: rp@memeticdesign.de
web:http://www.memeticdesign.de
> While selecting the last row of my table works fine (view jumps to the
> end of the table), selecting the first row doesn't (only row is selected
[quoted text clipped - 4 lines]
> (DefaultListSelectionModel)table.getSelectionModel();
> lsm.setLeadSelectionIndex(ix);
Wrong (even for DefaultListSelectionModel).
Just
table.setRowSelectionInterval(ix, ix);
> scrollp.getViewport().scrollRectToVisible(table.getCellRect(ix,0,true));
table.scrollRectToVisible(...);
See http://www.chka.de/swing/table/scrolling.html
Christian

Signature
And in short, I was afraid.