How can I get a single line of text of a textarea?
So like if I had
Then line 1 would be Hello and line 2 would be Mellow ect.
How can I get that?
JTextArea area = new JTextArea(); System.out.print(area.getLineOfText());