scrollpane position

Hi.

I have a problem.

When i press a key i move upo and jtable selected row but i can't view this row in jscrollpane.

i tried with

ScrollPane1.getViewport().setViewPosition(new Point(0, rowheight));

but i can't view select row.

Can you help me?

Thanls

[303 byte] By [raffeo_ITa] at [2007-10-3 8:58:33]
# 1
table.scrollRectToVisible();
camickra at 2007-7-15 4:09:07 > top of Java-index,Desktop,Core GUI APIs...
# 2
ok!!!THANKS
raffeo_ITa at 2007-7-15 4:09:07 > top of Java-index,Desktop,Core GUI APIs...