Why are you putting long lines of text in a JList?
You could use one of the String class's methods to find a place to break a line and use the substring method to break the line.
Type: Posts; User: Norm
Why are you putting long lines of text in a JList?
You could use one of the String class's methods to find a place to break a line and use the substring method to break the line.
A doc file is not a text file that can be read line by line in a Java program. You need special code that understands its internal format to get "lines" of text from it.
Save the file as a .txt...
What is the internal format of the file that you are reading?
Look at the file in a HexEditor to see what is in it. What do you see if you open the file in a simple editor?