Hi,
I would like to know if it's possible to edit specific rows from inside a textarea in a java swing application. So if I had a text area that held the following content:
Row1
Row2
Row3
And I had a command like this:
jTextArea1.getText().row[2].setText("New Row2");
Then I would want a result like this:
Row1
New Row2
Row3
Alternatively:
I would like to know when there is a break after each line, if there is a break, it should increment an int. i.e.
Row1 (i=0)
Row2 (i=1)
Row3 (i=2)
etc...
Thanks,
-Ashton.