2 Replies Latest reply: Dec 31, 2006 1:46 AM by 800774 RSS

    Reading .txt files and put it into a TextArea

      Hi all,

      I got a problem! I have to make something like a messenger.
      I want to put the written text into a .txt file, after that I have to get the text out of the .txt file and put in into a TextArea.

      I would ike it to to that like this:
      ">User 1

      >User 2

      Now here are my questions:

      1: What is the moet easy way to do this ?
      2: How could i put Enters into a .txt file with Java ?
      3: How could i read all the text from the .txt file and put it into a TextArea WITH ENTERS ?

      Thanks for your help!

      Greetings, Jasper Kouwenberg