adjusting a JScrollBar
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ameya_sathe
Posted On:   Tuesday, May 21, 2002 10:36 PM

Hello

I am building a texteditor in which i want to implement the Find function.
I can highlight the strings one by one on pressing the next button, but when the scope goes out of the
JTextArea which is visible, i can still highlight the string but i would also like to move the vertical scrollbar
down so that the next page is viewed in textarea.

So, is there any method which can relate the row index with adjusting the scrollbar position.

thanks in advance,
-Ameya.

About | Sitemap | Contact