This discussion is archived
3 Replies Latest reply: May 19, 2007 1:38 PM by DrClap RSS

Getting single strings from a text area

807600 Newbie
Currently Being Moderated
I'm try to use a textarea(JTextArea or JPaneArea) where I can appended strings, and then have the user enter a number, say like 5, and it gets the 5th string entered in that text area. Yet when I use getText, the whole text are as a string is returned to me.

Is there anything that enter strings like an array in a textarea in which what I am trying to do will work?