Is it possible to read strings from as JTextArea One by One?? I would like to insert all the lines from the JTextArea into a String Array for later usage.
Code:
String [] temp = new String[jtextarea.getLineCount();
for(int i = 0; i<=jtextarea.getLineCount();i++)
{
temp[i] = something like jtextarea.getLine[i];
}