Hello! I want to load a text box in Java from a text file. This sounds simple but the big question is how to return at the end add newlines when text get close to the edge of the box, for example.
|
|
|
Java java java Java java java |Java java java Java java java
|
|
Lets pretend the line represents the edge of the text box. It spills over.
How do I do this?
Java java java Java java java|
Java java java Java java java|
Java java java Java java java|
Currently I am using txtWords.setTxt(list);
I don't think this is correct. Does anyone have a solution? Appritiate it!