I am starting studying Java and it is my first programming language. Well I have a question: in a text component I can use the function getText() that returns a String(but we are talking of a text document).
Should I split it in a string for each line or I am able to use it directly?