JTextArea's

Hello i was juts wondering if there was any way to get a single line of text out of a JTextArea? if so how?
[121 byte] By [Nueb35a] at [2007-11-27 3:54:33]
# 1
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JTextArea.htmlLook through the methods in that link, including the inherited ones. It looks like getText(int offset, int length) and getLineEndOffset() might be useful.
CaptainMorgan08a at 2007-7-12 8:58:41 > top of Java-index,Java Essentials,Java Programming...
# 2
Thx so much it works :) u rock!Message was edited by: Nueb35
Nueb35a at 2007-7-12 8:58:41 > top of Java-index,Java Essentials,Java Programming...
# 3
http://www.it-reading.org/category_1.htm
rong889a at 2007-7-12 8:58:41 > top of Java-index,Java Essentials,Java Programming...