File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
select a row inJTextArea using CaretPosition
Joined: May 31, 2001
Jun 03, 2001 22:06:00
How to select a entire row in
using the Caret Position?.
Joined: Sep 29, 2000
Jun 04, 2001 11:58:00
If you are using JDK1.3 you can use the setSelectionStart(int) and setSelectionEnd(int) methods. Course you would need to know the Caret Positions that correspond to those.
"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: select a row inJTextArea using CaretPosition
JTable auto select row
How can i explicitly lock a row of a Table
Datatable with only one select all checkbox in the first row
In JIDE- Jtable - how to get the actual row index (if the table is sorted row id is changing)
Selected row highlighted only for split second
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015