Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    6
    Views
    1,887

    Re: File Text displays jumbled in JList

    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.
  2. Replies
    6
    Views
    1,887

    Re: File Text displays jumbled in JList

    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...
  3. Replies
    6
    Views
    1,887

    Re: File Text displays jumbled in JList

    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?
Results 1 to 3 of 3