Getting single strings from a text area
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?

