-
How do I scan TextArea into arraylist?
Sorry for the newbies question. Tried google it, but as u see I failed in finding the answer.
How do I scan TextArea and load each new line into arraylist and later output array into different TextArea? Thank You.
-
getAccessibleText() or getAccessibleEditableText() methods of the AccessibleContext object returned by the TextArea's getAccessibleContext() method
-
Thank you. Does it put the hold textArea into array[1] or does put each new line into different location of the array?
-
use the AccessibleText's getTextRange( start, end ) method to get a String which you can add to your array/ArrayList/other container
-
is AccessibleText's getTextRange( start, end ) only in javac 1.6? I can't find it with ver 1.5 I have. I'm noob to this still.
-
Looks like the getTextRange() is for the AccessibleEditableText, while the AccessibleText implementing classes expose getSelectedText() and getAfterIndex() methods
Similar Threads
-
By Javfarary in forum .NET
Replies: 4
Last Post: 12-23-2006, 04:09 PM
-
By jawolken in forum Java
Replies: 3
Last Post: 10-11-2006, 03:30 PM
-
Replies: 1
Last Post: 03-06-2006, 03:36 PM
-
By Gengar003 in forum Java
Replies: 10
Last Post: 05-15-2005, 06:14 AM
-
By warriorwarren in forum Java
Replies: 11
Last Post: 03-19-2005, 01:13 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks